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

Re: can't complete .. paths with 4.2.3



On Sat, 29 Jan 2005 18:39:04 +0000, Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Jan 28, 11:25am, Shawn Halpenny wrote:
> } Subject: Re: can't complete .. paths with 4.2.3
> }
> } I tried completing 'echo ../' with trace enabled and noticed that tmp1
> } after the call to compfiles (line 345 of _path_files) was empty,
> } whereas on Cygwin, it had the list of files in the parent dir.
> 
> Do you have any zstyles set at all?  Put another way, have you tried
> reproducing this with 'zsh -f' (running autoload and compinit by hand)?
> 
> The only obvious reason that compfiles would behave that way at that
> particular spot is if the "fake-files" style were set to something.

I have zstyles, but it makes no difference if they are executed or
not.  However, I noticed that running 'zsh -f' and running compinit by
hand made things work again, so the problem must have been in my rc
files.

As it turns out, in my .zshenv I have 'setopt nocaseglob'.  If I
remove that (or 'setopt caseglob' at a prompt), I can complete paths
with .. again.  This behavior must have changed since 4.2.1, since
I've had that option setting for ages.

-- 
Shawn Halpenny



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