summary refs log tree commit diff
path: root/Completion/Builtins/_pids
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Builtins/_pids')
-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