Missing -s to which fixed

This commit is contained in:
adisbladis 2012-05-30 21:08:44 +02:00
parent 19d14c7c3a
commit 377d93d1cf

View File

@ -226,7 +226,7 @@ function __fish_config_interactive -d "Initializations that should be performed
end
else
# Ubuntu Feisty places this command in the regular path instead
if which -s command-not-found
if which command-not-found > /dev/null 2> /dev/null
function fish_command_not_found_handler --on-event fish_command_not_found
command-not-found $argv
end