mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 18:08:34 -07: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> |
||
---|---|---|
.. | ||
dirpersist.plugin.zsh | ||
README.md |
Dirpersist plugin
This plugin keeps a running tally of the previous 20 unique directories in the $HOME/.zdirs file. When you cd to a new directory, it is prepended to the beginning of the file.
To use it, add dirpersist
to the plugins array in your zshrc file:
plugins=(... dirpersist)