Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Simple Tip of the Day



* 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