aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/apropos.fish
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-07-16 15:22:49 +0200
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-07-19 17:32:03 -0700
commite35a2450d9e9ebce238bd4626e925d6fd0c3aa7f (patch)
treef06d57ea01599ffbe724be61b7578daf16f657f5 /share/completions/apropos.fish
parent616d848faccb75e5301e105aabc86c8681814812 (diff)
Apropos completion: Ignore stderr
Fixes fish-shell/fish-shell#1171
Diffstat (limited to 'share/completions/apropos.fish')
-rw-r--r--share/completions/apropos.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/apropos.fish b/share/completions/apropos.fish
index 5fe4b9f1..757830d6 100644
--- a/share/completions/apropos.fish
+++ b/share/completions/apropos.fish
@@ -2,7 +2,7 @@
function __fish_complete_apropos
if test (commandline -ct)
set str (commandline -ct)
- apropos $str|sed -e "s/^\(.*$str\([^ ]*\).*\)\$/$str\2"\t"\1/"
+ apropos $str ^/dev/null |sed -e "s/^\(.*$str\([^ ]*\).*\)\$/$str\2"\t"\1/"
end
end