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

Bug in _approximate with ~/



Hi,

I think I've found a weird bug in _approximate. This reproduces it:

% zsh -f                                                                                                                            Thu 16 Aug 2001
16:51:12
% echo $ZSH_VERSION
4.0.2
% autoload -U compinit
% compinit
% zstyle ":completion:*" completer _complete _approximate
% mkdir -p ~/test/test{1,2}
% ~/test/f

Press tab immediately after the 'f', and I get:

% \!
\!      *       -       .       0       1       :       @       X       \[      e       r       test1/  test2/  w       \{      \}
~/test/f

Which wasn't quite what I expected! ;)

Cheers,

Martin.




This e-mail message is CONFIDENTIAL and may contain legally privileged
information.  If you are not the intended recipient you should not  read,
copy, distribute, disclose or otherwise use the information in this e-mail.
Please also telephone or fax us immediately and delete the message from
your system.  E-mail may be susceptible to data corruption, interception
and unauthorised amendment, and we do not accept liability for any such
corruption, interception or amendment or the consequences thereof.



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