syntax highlight

Thursday 19 May 2011

Go home

It really bothers me when people type "cd $HOME" or even worse, "cd /home/username". Why? Just type cd alone, it'll go home by itself.

Another useful cd tip, use "cd -" as an alias for "cd $OLDPWD" (oldpwd is the previous directory).

2 comments: