Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Simple Tip of the Day
- X-seq: zsh-users 9732
- From: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Simple Tip of the Day
- Date: Fri, 2 Dec 2005 09:13:43 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <dfnuo1160g88dl9rd0pig04k6enf7fqpr6@xxxxxxx> <20051202010954.GF8445@xxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
* Vincent Lefevre (2005-12-02 01:09 +0100)
> On 2005-12-01 20:38:16 +0000, zzapper wrote:
>>>cd /xx/yy/ggg/ccc/
>> type
>>>S=`pwd`
>
> You could use $PWD instead of `pwd`.
Use zsh's autopushd option and refer to "S" as ~1 (or ~n). That's much
simpler.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author