Skip to content

Instantly share code, notes, and snippets.

@ahmadawais
Last active September 29, 2018 02:50
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmadawais/9bffefbb2a417ef29c65b5d17b6d885e to your computer and use it in GitHub Desktop.
Save ahmadawais/9bffefbb2a417ef29c65b5d17b6d885e to your computer and use it in GitHub Desktop.
[OneDevMinute]: Shell Aliases For Easy Directory Navigation

OneDevMinute

Ever had that typo where you wrote cd.. instead of cd .. — well this tip not only addresses that typo but also adds a couple other aliases to help you easily navigate through your systems directories. #OneDevMinute

################################################
# 🔥 #OneDevMinute
#
# Daily one minute developer tips.
# Ahmad Awais (https://twitter.com/MrAhmadAwais)
################################################

# Easier directory navigation.
alias ~="cd ~"
alias .="cd .."
alias ..="cd ../.."
alias ...="cd ../../.."
alias ....="cd ../../../.."
alias cd..="cd .." # Typo addressed.

🙌 P.S. If you like my work, feel free to share it, like it, and subscribe (& press the bell icon for updates). Peace! ✌️

@ahmadawais
Copy link
Author

ahmadawais commented Sep 21, 2018

Hey, folks!
This is a new project, go easy on me.

Also shared on…

@sergeysova
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment