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

Re: [zash-3.0.0] bug in cdmatch for dirs w/ embedded space?



>> On Thu, 12 Sep 1996 20:38:11 +0100 (BST),
>> Zefram (Z) wrote:
>> % cd foo<TAB>
>> results in
>> % cd foo\\\ bar/

Z> Looks like you need to use the -Q option to compctl when setting up
Z> that completion.

You mean the one I already used?

>> On Thu, 12 Sep 1996 11:42:29 -0600,
>> Mark Borges(mb) wrote:
mb> Here's exactly what I did:
mb> charney% if [[ -o AUTO_REMOVE_SLASH ]] then
then> compctl -x 'p[2]' -Q -K cdmatch2 - 'S[/][~][./][../]' -g '*(-/)' + \
then> -g '*(-/D)' - 'n[-1,/], s[]' -K cdmatch -q -S '/' -- cd pushd
then> else
else> compctl -x 'p[2]' -Q -K cdmatch2 - 'S[/][~][./][../]' -g '*(-/)' + \
else> -g '*(-/D)' - 'n[-1,/], s[]' -K cdmatch -S '/' -- cd pushd
else> fi

Does order matter somehow? This is straight out of the 3.0.0
distribution. 

What else?

-- 
  -mb-



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