diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-11-24 09:39:27 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-11-24 09:39:49 -0500 |
commit | 18540892d18addc4dcb81c0cfa24706e14b3c5c8 (patch) | |
tree | e745ecb7bc54995a8b101a6f88d5b40a1806b5e4 /shell-completion/bash | |
parent | 3719f851e3cbf25ce6b195ed9982d0b9d25a34d4 (diff) |
bash-completion: list only valid signal names
Fixup for #1999.
Diffstat (limited to 'shell-completion/bash')
-rw-r--r-- | shell-completion/bash/systemd-nspawn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/bash/systemd-nspawn b/shell-completion/bash/systemd-nspawn index 2636666b5d..429e712eb3 100644 --- a/shell-completion/bash/systemd-nspawn +++ b/shell-completion/bash/systemd-nspawn @@ -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") ) |