mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-31 23:35:17 +08:00
Print default error in the pacman cnf-handler
Pacman *only* prints the package if it exists, no error or anything. Fixes #7327.
This commit is contained in:
parent
0e9b496bba
commit
691deac1e4
|
@ -64,6 +64,8 @@ else if type -q pacman
|
|||
# otherwise pacman will try *every path*, and e.g. bash-completion
|
||||
# isn't helpful.
|
||||
string match -q '/*' -- $argv[1]; or set paths $PATH/$argv[1]
|
||||
# Pacman only prints the path, so we still need to print the error.
|
||||
__fish_default_command_not_found_handler $argv[1]
|
||||
pacman -F $paths
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user