1ba0af650a
Use add-zsh-hook to add functions to hooks. That way they won't be added again when doing `source ~/.zshrc` multiple times. Co-authored-by: Marc Cornellà <marc.cornella@live.com> |
||
---|---|---|
.. | ||
README.md | ||
last-working-dir.plugin.zsh |
README.md
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
$PWD
is not$HOME
.
Adds lwd
function to jump to the last working directory.