summary refs log tree commit diff
path: root/Completion/User/_killall
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_killall')
-rw-r--r--Completion/User/_killall2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_killall b/Completion/User/_killall
index b5ec90c8b..ea3e8e2cb 100644
--- a/Completion/User/_killall
+++ b/Completion/User/_killall
@@ -3,7 +3,7 @@
 if [[ "$OSTYPE" = linux* ]]; then
   _alternative \
       'signals:: _signals -p' \
-      'processes:process:{ compadd "$expl[@]" ${$(_call processes-names ps ho comm 2> /dev/null):#(ps|COMMAND)} }'
+      'processes:process:{ compadd "$expl[@]" ${$(_call processes-names ps ${${EUID/(#s)0(#e)/xa}//[0-9]#/} ho comm 2> /dev/null):#(ps|COMMAND)} }'
 else
   _signals -p
 fi