summary refs log tree commit diff
path: root/Completion/Builtins
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-20 07:15:38 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-20 07:15:38 +0000
commitfb7bc3a9c7458b1492e7d7a766202d0cb0386185 (patch)
tree49890c4ec285a28e9194cca9c070cfae6a132303 /Completion/Builtins
parentcde71bb1a58e8fd9a953106059e9415ab166de86 (diff)
downloadzsh-fb7bc3a9c7458b1492e7d7a766202d0cb0386185.tar.gz
zsh-fb7bc3a9c7458b1492e7d7a766202d0cb0386185.tar.xz
zsh-fb7bc3a9c7458b1492e7d7a766202d0cb0386185.zip
a bit of security for compinit (avoid using things writable by others); avoid handling files with the same name twice; remove compconf (11998)
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 5956ddb29..0d1c0fffc 100644
--- a/Completion/Builtins/_pids
+++ b/Completion/Builtins/_pids
@@ -16,7 +16,7 @@ elif [[ "$PREFIX$SUFFIX" = [0-9]# ]]; then
   match="[[:blank:]]#${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*"
 else
   all=(-U)
-  match="*[[:blank:]]*[/[:blank:]]$PREFIX*$SUFFIX*"
+  match="*[[:blank:]]*[[/[:blank:]]$PREFIX*$SUFFIX*"
   nm="$compstate[nmatches]"
 fi