mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-31 18:14:58 +08:00
Use OpenSUSE command-not-found via $PATH
We check the full $PATH, so it's not guaranteed that it is in /usr/bin.
This commit is contained in:
parent
fbe56a84c7
commit
0131974378
|
@ -23,7 +23,7 @@ if functions -q __fish_command_not_found_handler
|
|||
# but the same name and path as Ubuntu's.
|
||||
else if contains -- suse $os || contains -- sles $os && type -q command-not-found
|
||||
function fish_command_not_found
|
||||
/usr/bin/command-not-found $argv[1]
|
||||
command-not-found $argv[1]
|
||||
end
|
||||
# Check for Fedora's handler
|
||||
else if test -f /usr/libexec/pk-command-not-found
|
||||
|
|
Loading…
Reference in New Issue
Block a user