diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-19 09:28:37 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-19 09:28:37 +0000 |
commit | 9842f9fbb556c15b74ada43b02c2d2e4ea1ee461 (patch) | |
tree | aa754593a66f0837432c9fa966ee9181fca88009 /Completion/User | |
parent | ec99cc6ca561dc90231b760f63b21fceef4e87e0 (diff) | |
download | zsh-9842f9fbb556c15b74ada43b02c2d2e4ea1ee461.tar.gz zsh-9842f9fbb556c15b74ada43b02c2d2e4ea1ee461.tar.xz zsh-9842f9fbb556c15b74ada43b02c2d2e4ea1ee461.zip |
zsh-workers/8677
Diffstat (limited to 'Completion/User')
-rw-r--r-- | Completion/User/_killall | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Completion/User/_killall b/Completion/User/_killall index 042b3892a..05bc8e709 100644 --- a/Completion/User/_killall +++ b/Completion/User/_killall @@ -1,5 +1,9 @@ #compdef killall -_alternative \ - 'signals:: _signals -p' \ - 'processes:process:{ compadd "$expl[@]" ${$(ps ho comm 2> /dev/null):#(ps|COMMAND)} }' +if [[ "$OSTYPE" = linux* ]]; then + _alternative \ + 'signals:: _signals -p' \ + 'processes:process:{ compadd "$expl[@]" ${$(ps ho comm 2> /dev/null):#(ps|COMMAND)} }' +else + _signals -p +fi |