about summary refs log tree commit diff
path: root/Completion/User/_killall
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2000-12-27 04:34:05 +0000
committerClint Adams <clint@users.sourceforge.net>2000-12-27 04:34:05 +0000
commitd1d89c7942178b863ecfd33ff91a372e7240f041 (patch)
tree4ed05e4e9ed362562987d1617085e93cf1e32e8b /Completion/User/_killall
parent17fb95265444e1e7a8dd6ef4717299dfadd76830 (diff)
downloadzsh-d1d89c7942178b863ecfd33ff91a372e7240f041.tar.gz
zsh-d1d89c7942178b863ecfd33ff91a372e7240f041.tar.xz
zsh-d1d89c7942178b863ecfd33ff91a372e7240f041.zip
13314: don't complete hyphen-prefixed commands for killall
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 a0f04a38b..2e5b37c3a 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[@]" ${${${(f)"$(_call processes-names ps ${${EUID/(#s)0(#e)/xa}//[0-9]#/} ho cmd 2> /dev/null)"//[][]/}:#(ps|COMMAND)}%%\ *} }'
+      'processes:process:{ compadd "$expl[@]" ${${${(f)"$(_call processes-names ps ${${EUID/(#s)0(#e)/xa}//[0-9]#/} ho cmd 2> /dev/null)"//[][]/}:#(ps|COMMAND|-*)}%%\ *} }'
 else
   _signals -p
 fi