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

Re: Handling of .. in command line parameters



On Tue, 17 Jun 2008 09:48:20 +0100
Stephane Chazelas <Stephane_Chazelas@xxxxxxxx> wrote:
> You can disable that fancy behavior of cd, by doing a:
> 
> alias cd='cd -P'
> 
> Then if you have %~ is your PS1, you're least likely to have
> surprises.

In fact, you don't need the alias; you can just "setopt CHASE_LINKS".

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author