about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-03-23 15:18:46 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-03-23 15:18:46 +0000
commitcb2de78cca4ee82af612fde80ae67470a8a5b1c0 (patch)
tree16dee59adb20bfe2d40ca970d924001f1c0c6a5c /Completion
parent3ae964fc4d6a4c8fdd6811e0212a141ff22c8d2d (diff)
downloadzsh-cb2de78cca4ee82af612fde80ae67470a8a5b1c0.tar.gz
zsh-cb2de78cca4ee82af612fde80ae67470a8a5b1c0.tar.xz
zsh-cb2de78cca4ee82af612fde80ae67470a8a5b1c0.zip
don't auto-start menu completion after a `%' when completing pids or jobs (13733)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Builtins/_pids2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Builtins/_pids b/Completion/Builtins/_pids
index af6c72c0c..392689848 100644
--- a/Completion/Builtins/_pids
+++ b/Completion/Builtins/_pids
@@ -11,7 +11,7 @@ if [[ "$1" = -m ]]; then
   all=()
   match="*[[:blank:]]${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*[/[:blank:]]${2}*"
   shift 2
-elif [[ "$PREFIX$SUFFIX" = [0-9]# ]]; then
+elif [[ "$PREFIX$SUFFIX" = (%*|[0-9]#) ]]; then
   all=()
   match="*[[:blank:]]${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*"
 else