i was sick of typing cd into my terminal, pasting in a path, and then realizing that i had actually copied a whole cd command that no longer worked because it started with cd cd. spent a few minutes putting this in my .bash_aliases file
cd () {if [ $1 = "cd" ]; then
shift
fi
command cd $@
}
"but holly now you can't go into a folder called cd" sure i can. cd cd cd