diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-03-26 08:27:03 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-03-26 08:27:03 +0000 |
commit | ea08ba3cea5fe6d979d984a556b902003d0afe04 (patch) | |
tree | 99cce954b6934cbf4d369dc5aa8d3eca390f87cf /Completion/Builtins | |
parent | d3eca43623881efdd3034cf8089c394c81214a65 (diff) | |
download | zsh-ea08ba3cea5fe6d979d984a556b902003d0afe04.tar.gz zsh-ea08ba3cea5fe6d979d984a556b902003d0afe04.tar.xz zsh-ea08ba3cea5fe6d979d984a556b902003d0afe04.zip |
_pids shouldn't start menu completion if the current word starts with a hyphen; typo fix in compsys.yo (13763)
Diffstat (limited to 'Completion/Builtins')
-rw-r--r-- | Completion/Builtins/_pids | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Builtins/_pids b/Completion/Builtins/_pids index 392689848..ad15031b6 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 |