diff options
author | David Frascone <codemonkey@BananaTree.local> | 2010-11-05 09:26:26 -0600 |
---|---|---|
committer | David Frascone <codemonkey@BananaTree.local> | 2010-11-05 09:26:26 -0600 |
commit | ce08bb2ad2d6b6d283f62d0c5bc35bb4bacb3b81 (patch) | |
tree | 463c85aff016ebc50d848e5a82a5e8c718668a83 /share/functions/type.fish | |
parent | 93f797326e2824dee84ca13eab19fa7782108a68 (diff) |
The grep on the commands would sometimes output errors, causing noise and
breaking scripts.
Diffstat (limited to 'share/functions/type.fish')
-rw-r--r-- | share/functions/type.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/type.fish b/share/functions/type.fish index a9b1bdff..f57c7fa8 100644 --- a/share/functions/type.fish +++ b/share/functions/type.fish @@ -15,7 +15,7 @@ function type --description "Print the type of a command" set longopt -l type,path,force-path,all,no-functions,help end - if not getopt -n type -Q $shortopt $longopt -- $argv + if not getopt -n type -Q $shortopt $longopt -- $argv >/dev/null return 1 end |