DEV Community

Discussion on: Bash: How To Teleport In The Terminal

Collapse
 
kenbellows profile image
Ken Bellows • Edited

A side effect of this that sometimes catches me off guard is that if you try to cd to an environment variable that doesn't exist, or if you misspell a variable (e.g. cd $PORJ_HOME instead of $PROJ_HOME), you end up running plain cd by accident and going home instead! Always takes me a second to realize what happened