loc is a script for storing and switching working directories across sessions and terminals.
loc
: select and cd to a stored pathloc <path>
: store the given path and select and cd to a stored path
There also options for other operations:
loc [clear] [remove <path>] [add <path>] [go]
git clone https://github.com/MaanooAk/loc.git
cd loc
sudo make install
Additionally in order for the cd
commands to work, an alias must be defined
alias loc=". loc"
The script requires the dmenu tool