diff options
| author | Oliver Kiddle <opk@users.sourceforge.net> | 2001-12-21 16:33:39 +0000 |
|---|---|---|
| committer | Oliver Kiddle <opk@users.sourceforge.net> | 2001-12-21 16:33:39 +0000 |
| commit | 1b608e1b9af7a86c7c26c5f8aea27602af3077ea (patch) | |
| tree | 1258c01138b360a911cbae72f8065dc2ede2cd15 /Completion/Unix | |
| parent | 16332: removal of Src/ansi2knr.c and adjustment of build process (diff) | |
| download | zsh-1b608e1b9af7a86c7c26c5f8aea27602af3077ea.tar zsh-1b608e1b9af7a86c7c26c5f8aea27602af3077ea.tar.gz zsh-1b608e1b9af7a86c7c26c5f8aea27602af3077ea.tar.bz2 zsh-1b608e1b9af7a86c7c26c5f8aea27602af3077ea.tar.lz zsh-1b608e1b9af7a86c7c26c5f8aea27602af3077ea.tar.xz zsh-1b608e1b9af7a86c7c26c5f8aea27602af3077ea.tar.zst zsh-1b608e1b9af7a86c7c26c5f8aea27602af3077ea.zip | |
16372: allow signal names to be prefixed by `SIG' with kill builtin and fix
problem with no argument to kill -n and -s options
Diffstat (limited to 'Completion/Unix')
| -rw-r--r-- | Completion/Unix/Type/_signals | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_signals b/Completion/Unix/Type/_signals index f882ca9ff..32cb8285c 100644 --- a/Completion/Unix/Type/_signals +++ b/Completion/Unix/Type/_signals @@ -21,9 +21,10 @@ fi if [[ -z "$minus" ]] || ! zstyle -T ":completion:${curcontext}:signals" prefix-needed || - [[ "$PREFIX" = -* ]]; then + [[ -prefix -* ]]; then local disp tmp + [[ -prefix ${minus}SIG* ]] && minus+=SIG if zstyle -t ":completion:${curcontext}:signals" prefix-hidden; then tmp=( "${(@)signals[1,last]}" ) disp=(-d tmp) |
