aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/config.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/config.fish')
-rw-r--r--share/config.fish5
1 files changed, 2 insertions, 3 deletions
diff --git a/share/config.fish b/share/config.fish
index f1bb0c0c..b1d404ee 100644
--- a/share/config.fish
+++ b/share/config.fish
@@ -19,10 +19,9 @@ end
#
# Hook up the default as the principal command_not_found handler
-# for starting up since finding and executing a real one is not cheap
-# This will be erased in __fish_command_not_found_setup once we're interactive
+# in case we are not interactive
#
-function __fish_startup_command_not_found_handler --on-event fish_command_not_found
+status -i; or function __fish_command_not_found_handler --on-event fish_command_not_found
__fish_default_command_not_found_handler $argv
end