about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Builtins/_pids2
1 files changed, 1 insertions, 1 deletions
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