mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Also allow "sles" as OS-ID for command-not-found-handler
"Suse Linux Enterprise Server". Fixes #4447.
This commit is contained in:
parent
7004c30f95
commit
720f4ad742
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ function __fish_config_interactive -d "Initializations that should be performed
|
|||
|
||||
# First check if we are on OpenSUSE since SUSE's handler has no options
|
||||
# but the same name and path as Ubuntu's.
|
||||
if contains -- suse $os
|
||||
if contains -- suse $os; or contains -- sles $os
|
||||
and type -q command-not-found
|
||||
function __fish_command_not_found_handler --on-event fish_command_not_found
|
||||
/usr/bin/command-not-found $argv[1]
|
||||
|
|
Loading…
Reference in a new issue