mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 06:15:54 +08:00
__fish_make_completion_signals: Check for "kill"
This commit is contained in:
parent
dd7d432cd6
commit
177ce0d40e
|
@ -19,6 +19,12 @@ function __fish_make_completion_signals --description 'Make list of kill signals
|
|||
return
|
||||
end
|
||||
|
||||
# If we don't have a kill, we don't try to run it.
|
||||
# We require a kill *command* because we used to unconditionally define
|
||||
# a wrapper (to allow %foo expansion)
|
||||
command -q kill
|
||||
or return
|
||||
|
||||
# Some systems use the GNU coreutils kill command where `kill -L` produces an extended table
|
||||
# format that looks like this:
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user