zsh-users
 help / color / mirror / code / Atom feed
* More about ksh_glob and completion
@ 2001-04-29 18:30 Bart Schaefer
  2001-04-30  8:14 ` Sven Wischnowsky
  2001-04-30  8:33 ` Andre Pang
  0 siblings, 2 replies; 3+ messages in thread
From: Bart Schaefer @ 2001-04-29 18:30 UTC (permalink / raw)
  To: zsh-users

In zsh-users/3836 I wrote:
} 
} Unfortunately, zsh has options like kshglob that change the syntax of
} glob patterns.  When the completion system functions are autoloaded
} with kshglob in effect, the meanings of some of those patterns is
} altered -- and is compiled into the function, so even though kshglob is
} later turned off by the completion system, the [[ ]] and `case' patterns
} retain their ksh interpretations and fail to work.

Fortunately (and somewhat embarrassingly) I'm completely (ahem) wrong about
the above.  Pre-compilation of glob patterns is not broken by kshglob; I
had tried it outside the completion system and thought I'd verified it, but
I must have done something wrong (perhaps I typed `unset' for `unsetopt')
because today I can't reproduce it.

And further, the completion system didn't turn off kshglob.  It should.  See
if this doesn't fix you up, Andre.

Index: Completion/compinit
===================================================================
--- Completion/compinit	2001/04/09 20:14:08	1.1.1.1
+++ Completion/compinit	2001/04/29 18:14:05
@@ -134,6 +134,7 @@
     NO_globsubst
     NO_shwordsplit
     NO_shglob
+    NO_kshglob
     NO_ksharrays
     NO_cshnullglob
     NO_allexport

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-30  8:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-29 18:30 More about ksh_glob and completion Bart Schaefer
2001-04-30  8:14 ` Sven Wischnowsky
2001-04-30  8:33 ` Andre Pang

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).