[plug] bash: making cd persist after script has run

Colin Muller colin at twobluedots.com.au
Mon Feb 11 10:36:30 WST 2002


On Mon, Feb 11, 2002 at 10:26:37AM +0800, Brian Tombleson wrote:
> Err .. you could try it with aliases instead..
> 
> In your ~/.bash_profile (or other choice of login script)
> 
> alias cdperl="cd /home/colin/info/tech/perl"
> alias cdxml="cd /home/colin/info/tech/xml-sgml"

Perfect, thanks (and to Justin). Funny how the simplest solutions can
sometimes be the hardest to think of.

Colin



More information about the plug mailing list