mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Fix man completion: suppress stderr of aprops
This commit is contained in:
parent
87baa4d3d2
commit
28264423a4
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ function __fish_complete_man
|
||||||
set section $section"[^)]*"
|
set section $section"[^)]*"
|
||||||
|
|
||||||
# Do the actual search
|
# Do the actual search
|
||||||
apropos (commandline -ct) | sgrep \^(commandline -ct) | sed -n -e 's/\([^ ]*\).*(\('$section'\)) *- */\1'\t'\2: /p'
|
apropos (commandline -ct) ^/dev/null | sgrep \^(commandline -ct) | sed -n -e 's/\([^ ]*\).*(\('$section'\)) *- */\1'\t'\2: /p'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue