Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Possible bug with cd completion
- X-seq: zsh-workers 15607
- From: martin.ebourne@xxxxxxxxxxxx
- To: zsh-workers@xxxxxxxxxx
- Subject: Possible bug with cd completion
- Date: Thu, 9 Aug 2001 10:38:58 +0100
- Expiry-date: Wed, 7 Nov 2001 -1:-1:-1 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Hi,
There seems to be a bug with completing directories to cd which are
numbers.
ie.
% zsh -f
% echo $ZSH_VERSION
4.0.2
% autoload -U compinit
% compinit
% setopt cdablevars
% pushd
~ ~/test
% mkdir 100
% cd 1
Pressing <tab> immediately after the 1 offers no completions. Add a 0 and
it works.
This seems to be a problem with the handling of cdablevars in _cd. It seems
to be trying to complete with a '~' prefixed, which hits the directory
stack. However, cdable vars doesn't actually do that when you execute the
cd itself.
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