diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2015-07-16 15:22:49 +0200 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-07-19 17:32:03 -0700 |
commit | e35a2450d9e9ebce238bd4626e925d6fd0c3aa7f (patch) | |
tree | f06d57ea01599ffbe724be61b7578daf16f657f5 /share/completions/apropos.fish | |
parent | 616d848faccb75e5301e105aabc86c8681814812 (diff) |
Apropos completion: Ignore stderr
Fixes fish-shell/fish-shell#1171
Diffstat (limited to 'share/completions/apropos.fish')
-rw-r--r-- | share/completions/apropos.fish | 2 |
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 |