mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Double default cnf-handler
This was defined in config.fish. Just define it here again, it's trivial.
This commit is contained in:
parent
2416aa5337
commit
1908cf95de
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@ if test -r /etc/os-release
|
|||
string replace -r '^ID(?:_LIKE)?\s*=(.*)' '$1' | string trim -c '\'"' | string split " ")
|
||||
end
|
||||
|
||||
function __fish_default_command_not_found_handler
|
||||
printf "fish: Unknown command: %s\n" (string escape -- $argv[1]) >&2
|
||||
end
|
||||
|
||||
# If an old handler already exists, defer to that.
|
||||
if functions -q __fish_command_not_found_handler
|
||||
function fish_command_not_found
|
||||
|
|
Loading…
Reference in a new issue