mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 03:21:16 -03:00
Clean up __fish_config_interactive a little bit
This commit is contained in:
@@ -166,7 +166,7 @@ function __fish_config_interactive -d "Initializations that should be performed
|
||||
#
|
||||
|
||||
function fish_on_exit --description "Commands to execute when fish exits" --on-process %self
|
||||
printf (_ "Goodbye\n")
|
||||
echo (_ "Goodbye\n")
|
||||
end
|
||||
|
||||
#
|
||||
@@ -232,7 +232,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 command-not-found >/dev/null
|
||||
if which -s command-not-found
|
||||
function fish_command_not_found_handler --on-event fish_command_not_found
|
||||
command-not-found $argv
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user