about summary refs log tree commit diff
path: root/Completion/Builtins
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-03-26 08:27:03 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-03-26 08:27:03 +0000
commitea08ba3cea5fe6d979d984a556b902003d0afe04 (patch)
tree99cce954b6934cbf4d369dc5aa8d3eca390f87cf /Completion/Builtins
parentd3eca43623881efdd3034cf8089c394c81214a65 (diff)
downloadzsh-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/_pids2
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