aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/type.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/functions/type.fish')
-rw-r--r--share/functions/type.fish2
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