mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01:00
last-working-dir plugin
Keeps track of the last used working directory and automatically jumps into it for new shells, unless:
- The plugin is already loaded.
- The current
$PWDis not$HOME.
Also adds lwd function to jump to the last working directory.
To use it, add last-working-dir to the plugins array in your zshrc file:
plugins=(... last-working-dir)