mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 10:01:14 -03:00
Fix man completion: suppress stderr of aprops
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user