about 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 ad15031b6..b298322e2 100644
--- a/Completion/Builtins/_pids
+++ b/Completion/Builtins/_pids
@@ -13,7 +13,7 @@ if [[ "$1" = -m ]]; then
   shift 2
 elif [[ "$PREFIX$SUFFIX" = ([%-]*|[0-9]#) ]]; then
   all=()
-  match="*[[:blank:]]${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*"
+  match="(*[[:blank:]]|)${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*"
 else
   all=(-U)
   match="*[[:blank:]]*[[/[:blank:]]$PREFIX*$SUFFIX*"