Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Better Use of dirs,popd?
- X-seq: zsh-users 14841
- From: Geoff Wing <gcw@xxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Better Use of dirs,popd?
- Date: Sat, 20 Feb 2010 12:13:45 +1100
- In-reply-to: <Xns9D255D054E22zzappergmailcom@xxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: PrimeNet Computer Consultancy
- References: <Xns9D255D054E22zzappergmailcom@xxxxxxxxxxxx>
On Saturday 2010-02-20 00:34 +0000, zzapper output:
:Hi
:It's annoying that if I do a
:> dirs -v
:I can list my recent directories but cannot cd to a particular one.
:I guess a nifty bit of scripting could do the job.
:any ideas other than a clunky
:dirs -v | gp '^13' | sed etc etc
% dirs -v
0 /
1 /tmp
2 /home
3 /staff
% pwd
/
% cd ~3
% pwd
/staff
% cd ~2
% pwd
/home
%
Regards,
Geoff
Messages sorted by:
Reverse Date,
Date,
Thread,
Author