Stop making aliases to change directories
Summary
I frequently see people making aliases like these to cd into different applications:
alias mp="cd ~/Documents/Work/my_project"
At least at LivingSocial, it seems that there is a new application dependency on a monthly basis, which makes the whole alias for cd-ing process a pain.
Instead I use autojump. In the words of the authors:
"autojump is a faster way to navigate your filesystem. It works by maintaining a database of the directories you use the most from the command line. Directories must be visited first before they can be jumped to."
Favorite Features
- auto-completion on partial string match getting to the "my_project" directory is as easy as
j my<tab>
depending on the frequency of your visit to that directory compared to other directories that start with "my".
- show directory entries and their respective weights (clear the weights if you'd like)
j --stat
Start jumping here
Written by Andrew Thal
Related protips
2 Responses
start making aliases to change directories!
alias ..='cd ..'
over 1 year ago
·
Good tip, thanks for sharing!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Alias
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#