Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Programmable completion bug in beta18



>> On Wed, 22 May 1996 11:47:55 -0700,
>> Barton E Schaefer(BES) wrote:
BES> On May 22,  8:08pm, Zoltan Hidvegi wrote:
BES> } Subject: Re: Programmable completion bug in beta18
BES> }
BES> } > compctl -g '*(D-/)' cd
BES> } > {jagor}[0][~/hrv/zsh-2.6-beta18]$ cd [^D]
BES> } > 
BES> } > ^D gives no output. TAB refuses to menu-complete. Shortly, it doesn't work.
BES> } 
BES> } You need to set extended_glob for that.

BES> For what, specifically?

extendedglob seems to be involved in the behaviour alain found as well:

>> On Tue, 21 May 1996 16:31:00 -0400 ,
>> a (ac) wrote:
ac> I think I have found a bug in release 2.6-beta17 with regards to
ac> compctl.

ac> I have the following line in my .zshrc

ac> # rm Emacs backup and autosave files first
ac> compctl -g "*\~(D) \#*\#(D)" + -f rm
ac> FIGNORE=".o:~"
[...]
ac> With zsh 2.5.03, it works as expected, but not with 2.6-beta17.  For
ac> example. with both files .zshrc and .zshrc~

ac> rm .zs<TAB>
ac> expands to
ac> "rm .zshrc\~"   (with 2.5.03) and to
ac> "rm .zshrc"     (with 2.6-beta17)

as well:

  $ ~/bin/sunos-5.5/zsh -f
  % ls -a
  .    ..   .z   .z~  a    a~
  % compctl -g "*~(D) #*#(D)" + -f rm
  % rm a<TAB>        # doesn't complete
  % setopt extendedglob
  % rm a\~ .z\~      # completes
  % ls -a
  .   ..  .z  a
  %

-- 
  -mb-




Messages sorted by: Reverse Date, Date, Thread, Author