about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-08-19 15:00:10 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-08-19 15:00:10 +0000
commit967f2978a39b1a075b54dc12643cf79dd9ee424a (patch)
tree054817bd7f8772cabaffc5a1dbaf512a1030c056 /Completion/Unix/Command
parentd23b879de0dff73ca6510bbdb9a6ffebbc0f4c7c (diff)
downloadzsh-967f2978a39b1a075b54dc12643cf79dd9ee424a.tar.gz
zsh-967f2978a39b1a075b54dc12643cf79dd9ee424a.tar.xz
zsh-967f2978a39b1a075b54dc12643cf79dd9ee424a.zip
handle killall5
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_killall4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_killall b/Completion/Unix/Command/_killall
index 00bd28e79..6ec022227 100644
--- a/Completion/Unix/Command/_killall
+++ b/Completion/Unix/Command/_killall
@@ -1,6 +1,6 @@
-#compdef killall
+#compdef killall killall5
 
-if [[ "$OSTYPE" = linux* ]]; then
+if [[ $service = killall && "$OSTYPE" = linux* ]]; then
   _alternative \
       'signals:: _signals -p' \
       'processes:process:{ compadd "$expl[@]" ${${${${(f)"$(_call_program processes-names ps ${${EUID/(#s)0(#e)/xa}//[0-9]#/} ho cmd 2> /dev/null)"//[][\(\)]/}:#(ps|COMMAND|-*)}%%\ *}:t} }'