mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-27 20:25:12 +00:00
Fix not found handler for fedora
This commit is contained in:
parent
75a76c596c
commit
dce487380c
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ function __fish_config_interactive -d "Initializations that should be performed
|
||||||
# Check for Fedora's handler
|
# Check for Fedora's handler
|
||||||
else if test -f /usr/libexec/pk-command-not-found
|
else if test -f /usr/libexec/pk-command-not-found
|
||||||
function __fish_command_not_found_handler --on-event fish_command_not_found
|
function __fish_command_not_found_handler --on-event fish_command_not_found
|
||||||
/usr/libexec/pk-command-not-found -- $argv
|
/usr/libexec/pk-command-not-found $argv
|
||||||
end
|
end
|
||||||
# Check in /usr/lib, this is where modern Ubuntus place this command
|
# Check in /usr/lib, this is where modern Ubuntus place this command
|
||||||
else if test -f /usr/lib/command-not-found
|
else if test -f /usr/lib/command-not-found
|
||||||
|
|
Loading…
Reference in a new issue