Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: pws-25: really small patch
- X-seq: zsh-workers 6990
- From: Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: Zsh workers list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: PATCH: pws-25: really small patch
- Date: Tue, 6 Jul 1999 18:51:54 +0400 (MSD)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Some variables in completion fucntions were not local
/andrej
--- Completion/Builtins/_cd.old Mon Jul 5 13:53:06 1999
+++ Completion/Builtins/_cd Tue Jul 6 18:03:04 1999
@@ -56,7 +56,7 @@
return ret
elif [[ $PREFIX != (\~|/|./|../)* && $#cdpath -ne 0 ]]; then
- local tdir
+ local tdir tdir2
# With cdablevars, we can convert foo/bar/... to ~foo/bar/... if
# there is no directory foo. In that case we could also complete
# variable names, but it hardly seems worth it.
--- Completion/Core/_path_files.old Mon Jul 5 18:39:55 1999
+++ Completion/Core/_path_files Tue Jul 6 18:01:12 1999
@@ -33,12 +33,11 @@
setopt localoptions nullglob rcexpandparam extendedglob
unsetopt markdirs globsubst shwordsplit nounset
+local sopt='-' gopt='' opt
exppaths=()
prepaths=('')
ignore=()
group=()
-sopt='-'
-gopt=''
pats=()
addpfx=()
addsfx=()
Messages sorted by:
Reverse Date,
Date,
Thread,
Author