From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16261 invoked from network); 29 Apr 2001 18:31:11 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Apr 2001 18:31:11 -0000 Received: (qmail 14954 invoked by alias); 29 Apr 2001 18:30:51 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3837 Received: (qmail 14934 invoked from network); 29 Apr 2001 18:30:50 -0000 From: "Bart Schaefer" Message-Id: <1010429183023.ZM971@candle.brasslantern.com> Date: Sun, 29 Apr 2001 18:30:22 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk Subject: More about ksh_glob and completion MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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