From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-users@sunsite.dk
Subject: More about ksh_glob and completion
Date: Sun, 29 Apr 2001 18:30:22 +0000 [thread overview]
Message-ID: <1010429183023.ZM971@candle.brasslantern.com> (raw)
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
next reply other threads:[~2001-04-29 18:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-29 18:30 Bart Schaefer [this message]
2001-04-30 8:14 ` Sven Wischnowsky
2001-04-30 8:33 ` Andre Pang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1010429183023.ZM971@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).