__fish_make_completion_signals: Check for "kill"

This commit is contained in:
Fabian Boehm 2023-01-29 14:44:59 +01:00
parent dd7d432cd6
commit 177ce0d40e

View File

@ -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:
#