zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: pws-25: really small patch
@ 1999-07-06 14:51 Andrej Borsenkow
  0 siblings, 0 replies; only message in thread
From: Andrej Borsenkow @ 1999-07-06 14:51 UTC (permalink / raw)
  To: Zsh workers list

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=()


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-07-06 14:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-06 14:51 PATCH: pws-25: really small patch Andrej Borsenkow

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).