A simple set of Zsh functions to set, show, and change into a persistent working directory that spans multiple shell instances.
- Zsh
Clone the repository to ~/.persistent-working-directory and add source $HOME/.persistent-working-directory/persistent-working-directory.zsh to your ~/.zshrc.
sw
Sets the persistent working directory
gw
Changes the shell's current working directory into the persistent working direcotry
lw
Prints the persistent working directory
Erik Nomitch: erik@nomitch.com