From 953ab4b3cfea1e3d77b0c768cdcc7cead6bb806b Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 24 Apr 2012 11:12:04 -0700 Subject: [PATCH] Clean up __fish_config_interactive a little bit --- share/functions/__fish_config_interactive.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 68dbf5db8..2eaf31a22 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -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