diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-13 11:05:15 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-13 11:05:15 +0000 |
commit | b692ed1b9d19d10646d3870bb3b9b301216bddf7 (patch) | |
tree | 7f9950bc2b5019a49496bd75f27a86d70c796496 /Completion/User/_killall | |
parent | f5b6feedcaed6b2cbc7f5dc20a2cc4b401dc62d9 (diff) | |
download | zsh-b692ed1b9d19d10646d3870bb3b9b301216bddf7.tar.gz zsh-b692ed1b9d19d10646d3870bb3b9b301216bddf7.tar.xz zsh-b692ed1b9d19d10646d3870bb3b9b301216bddf7.zip |
remove the `pids' tag, use `processes' instead (10733)
Diffstat (limited to 'Completion/User/_killall')
-rw-r--r-- | Completion/User/_killall | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Completion/User/_killall b/Completion/User/_killall index 5df1acbb9..b5ec90c8b 100644 --- a/Completion/User/_killall +++ b/Completion/User/_killall @@ -1,6 +1,9 @@ #compdef killall -if compset -P 1 -; then - _description expl signal - compadd "$expl[@]" $signals[1,-3] +if [[ "$OSTYPE" = linux* ]]; then + _alternative \ + 'signals:: _signals -p' \ + 'processes:process:{ compadd "$expl[@]" ${$(_call processes-names ps ho comm 2> /dev/null):#(ps|COMMAND)} }' +else + _signals -p fi |