about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
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} }'