diff options
author | nulltrek <pumabit@gmail.com> | 2013-08-22 22:57:30 +0200 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-08-24 12:16:28 -0700 |
commit | 9a49b2c9fb74fccd56a1ee8ee9a3a6db29afcb56 (patch) | |
tree | 1d08af5a19a1f4d7b8289bc9373470322b9cf0c9 /share/functions/__fish_config_interactive.fish | |
parent | b6f495d1077b7627ea851da33936c77b2d594bb2 (diff) |
Fix "command not found" handler behaviour.
Diffstat (limited to 'share/functions/__fish_config_interactive.fish')
-rw-r--r-- | share/functions/__fish_config_interactive.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index d7961861..4f873d92 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -222,12 +222,12 @@ function __fish_config_interactive -d "Initializations that should be performed # First check in /usr/lib, this is where modern Ubuntus place this command if test -f /usr/lib/command-not-found function fish_command_not_found_handler --on-event fish_command_not_found - /usr/lib/command-not-found $argv + /usr/lib/command-not-found -- $argv end # Ubuntu Feisty places this command in the regular path instead else if type -p command-not-found > /dev/null 2> /dev/null function fish_command_not_found_handler --on-event fish_command_not_found - command-not-found $argv + command-not-found -- $argv end # Use standard fish command not found handler otherwise else |