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

Re: Coreutils-like File Completion



Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:

> On Oct 5,  3:37pm, Leah Neukirchen wrote:
> } Subject: Re: Coreutils-like File Completion
> }
> } Eric Cook <llua@xxxxxxx> writes:
> } 
> } > On another note, if you type an ' before pressing tab, zsh will
> } > still complete the filename and add the closing ' if an file is
> } > selected, the closing ' won't be added if the selected item is an
> } > directory (since you may attempt to do further completion).
> } 
> } This only seems to happen without compinit, anyone know how to revert
> } to this behavior and still use compinit?
> } (With compinit, ' is removed on TAB and the completion uses \ here...)
>
> Hmm, I don't see your behavior.  I have a directory full of deliberately
> strangely-named files just for testing stuff like this.

Oh, my bad.

I tried /tmp/'foo<TAB> not '/tmp/foo<TAB>.
With an initial ' or " it works fine, sorry for the confusion.

-- 
Leah Neukirchen  <leah@xxxxxxxx>  http://leah.zone



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