I recorded this `directory bookmarks using shopt` shellsession because 'cd -' is used by most of us
to switch between current/last directory.
Here's a cool technique which allows directory bookmarks.
### ~/.bashrc :
[[ -f ~/.bashrc.dirs ]] && . ~/.bashrc.dirs
### ~/.bashrc.dirs define:
export slog="/mnt/disk1/me/projects/solidrake/var/log"
This will allow you to type:
$ cd slog
$ pwd
/mnt/disk1/me/projects/solidrake/var/log