summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Builtins/_pids2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 27c22ed8f..3fd0c5d1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-03-23  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* 13733: Completion/Builtins/_pids: don't auto-start menu
+	* completion after a `%' when completing pids or jobs
+
 	* 13730: Completion/Core/_approximate: probably no reason to
 	put the (#a?) flag after an initial tilde in _approximate
 	anymore
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