Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion of ~ to include dirstack?
- X-seq: zsh-users 11945
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Boyd Adamson <boyd-adamson@xxxxxxx>
- Subject: Re: Completion of ~ to include dirstack?
- Date: Sun, 7 Oct 2007 10:16:34 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <2d0f097e0710062023x3f2b18c8n84b8b89b9a287c97@xxxxxxxxxxxxxx>
- Mail-followup-to: Boyd Adamson <boyd-adamson@xxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d0f097e0710062023x3f2b18c8n84b8b89b9a287c97@xxxxxxxxxxxxxx>
On Sun, Oct 07, 2007 at 01:23:39PM +1000, Boyd Adamson wrote:
[...]
> % cd ~-<tab>
> directory stack
> 0 -- /export/home/boyd
> 1 -- /export/home
> 2 -- /opt
>
> But I get the list in *reverse* order. What I'd really like is this completion:
>
> % cd ~<tab>
> user
> adm boyd fred listen noaccess nobody4 root
> student uucp
> bin daemon gdm lp nobody nuucp smmsp
> sys webservd
>
> to include a section with the directory stack.
>
> I have a feeling that this is a one-liner, but I've always found the
> zstyle system a bit bewildering.
[...]
Not an answer to your question, but personally, I do
$ cd +<Tab>
--
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author