mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-28 03:32:19 +08:00
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> |
||
---|---|---|
.. | ||
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.