mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 23:40:39 +01:00
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
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.
Adds lwd function to jump to the last working directory.