Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug in completing named dirs (pws-3)?
- X-seq: zsh-workers 4810
- From: Phil Pennock <phil@xxxxxxxxxxxxxxxxxxxxx>
- To: Zsh Development Workers <zsh-workers@xxxxxxxxxxxxxxx>
- Subject: Bug in completing named dirs (pws-3)?
- Date: Tue, 15 Dec 1998 15:04:50 +0000
- Mail-followup-to: Zsh Development Workers <zsh-workers@xxxxxxxxxxxxxxx>
- Organisation: Organisation? Here? No, over there ---->
Using 3.1.5-pws-3, there seems to be something curious with named dirs
completion. Tab completion removes the tilde.
This holds for 'zsh -f' defaults, and for any of:
(1) compctl -D -f
(2) compctl -g '*(D-/)' cd
(3) compctl -K cdmatch -S '' + -g '*(D-/)' cd
(where cdmatch is that distributed in 3.1.5-pws-3)
For these examples, cursor is at end of 'Result' string, state is
'zsh -f' with PS1 changed:
% cd ~<TAB>
Result "% cd "
% cd ~p<TAB>
Result "% cd p"
% cd ~ph<TAB>
Result "% cd phil/"
When there are multiple possible completions, extra tabs will cycle
through the names of the dirs, even though there is no longer a leading
tilde. The above were in vi-mode, although it seems to be the case in
emacs mode too.
HTH the ZLE-hackers.
--
--> Phil Pennock ; GAT d- s+:+ a22 C++(++++) UL++++/I+++/S+++/H+ P++@ L+++
E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+
G+ e+ h* r y?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author