mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 18:53:44 +08:00
Missing -s to which fixed
This commit is contained in:
parent
19d14c7c3a
commit
377d93d1cf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user