bash-completion: list only valid signal names

Fixup for #1999.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-11-24 09:39:27 -05:00
parent 3719f851e3
commit 18540892d1

View File

@ -133,7 +133,8 @@ _systemd_nspawn() {
comps=$( compgen -A file -- "$cur" )
;;
--kill-signal)
comps=$(compgen -A signal)
_signals
return
;;
esac
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )