diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-03-23 15:18:46 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-03-23 15:18:46 +0000 |
commit | cb2de78cca4ee82af612fde80ae67470a8a5b1c0 (patch) | |
tree | 16dee59adb20bfe2d40ca970d924001f1c0c6a5c | |
parent | 3ae964fc4d6a4c8fdd6811e0212a141ff22c8d2d (diff) | |
download | zsh-cb2de78cca4ee82af612fde80ae67470a8a5b1c0.tar.gz zsh-cb2de78cca4ee82af612fde80ae67470a8a5b1c0.tar.xz zsh-cb2de78cca4ee82af612fde80ae67470a8a5b1c0.zip |
don't auto-start menu completion after a `%' when completing pids or jobs (13733)
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Builtins/_pids | 2 |
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 |