about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2000-12-27 16:40:49 +0000
committerClint Adams <clint@users.sourceforge.net>2000-12-27 16:40:49 +0000
commitbb7b1ddf826325e80bd1a1241dff14dc8844bfff (patch)
tree44a0b495aa6e9851016060ce962d0ca04bce931d /Completion/User
parentd1d89c7942178b863ecfd33ff91a372e7240f041 (diff)
downloadzsh-bb7b1ddf826325e80bd1a1241dff14dc8844bfff.tar.gz
zsh-bb7b1ddf826325e80bd1a1241dff14dc8844bfff.tar.xz
zsh-bb7b1ddf826325e80bd1a1241dff14dc8844bfff.zip
13315: ignore parens and leading paths on killall completion
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_killall2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_killall b/Completion/User/_killall
index 2e5b37c3a..30f6109e5 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|-*)}%%\ *}:t} }'
 else
   _signals -p
 fi