I created a bash utility named goto that allows users to navigate to aliased directories.
It comes with a nice auto-completion script so that whenever you press the
tab key after the
goto command, bash prompts with suggestions of the available aliases:
$ goto <tab> bc /etc/bash_completion.d dev /home/iridakos/development rubies /home/iridakos/.rvm/rubies
The following command will register an alias for a long path:
goto --register workdir /mnt/development/projects/go/workspace
Afterwards, user can navigate to that folder with just:
You can find the code and the installation and usage guides on GitHub.
The tool can be used also in zsh and there is a brew formula available for macOS users (
brew install goto)