mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 03:01:15 -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
|
function fish_on_exit --description "Commands to execute when fish exits" --on-process %self
|
||||||
printf (_ "Goodbye\n")
|
echo (_ "Goodbye\n")
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -232,7 +232,7 @@ function __fish_config_interactive -d "Initializations that should be performed
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
# Ubuntu Feisty places this command in the regular path instead
|
# 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
|
function fish_command_not_found_handler --on-event fish_command_not_found
|
||||||
command-not-found $argv
|
command-not-found $argv
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user