Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Overeager completion?
- X-seq: zsh-workers 17963
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Danek Duvall <duvall@xxxxxxxxxxx>
- Subject: Re: Overeager completion?
- Date: Mon, 25 Nov 2002 10:59:25 +0000
- Cc: Zsh Workers <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20021123002553.GA16698@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20021123002553.GA16698@xxxxxxxxxxxxxxxxxx>
- Sender: kiddleo@xxxxxxxxxx
On 22 Nov, Danek Duvall wrote:
> % zsh -f
> % mkdir /tmp/foo
> % cd /tmp/foo
> % mkdir a b
> % touch a/{1,2,3,4}
> % autoload -U compinit
> % compinit
> % ls ../^D
> a/ b/
> % ls ..//^D
> 1 2 3 4
That's a feature. See the documentation for the squeeze-slashes style in
the manual:
If set to `true', sequences of slashes (as in `foo//bar') will
be treated as if they were only one slash when completing path-
names. This is the usual behaviour of UNIX paths. However, by
default the file completion function behaves as if there were a
`*' between the slashes.
So if you don't like it, set squeeze-slashes to true.
> Oops. Then, for good measure, hit ^C twice to quit the shell. :)
That could be a bug. Seems to occur after any ^D used to list choices.
Oliver
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author