Shell Aliases For Easy Directory Navigation
5 months ago ❯ In Shell
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
# FILE: .zshrc/.bashrc
################################################
# 🔥 #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.
- 🐦 Twitter: https://twitter.com/MrAhmadAwais (Preferred)
- ✍️ Blog: https://AhmadAwais.com
- 😮 GitHub: https://github.com/AhmadAwais
- 🔗 LinkedIn: https://www.linkedin.com/in/MrAhmadAwais
🙌 P.S. If you like my work, feel free to share it, like it, and subscribe (& press the bell icon for updates). Peace! ✌️