ohmyzsh/plugins/dirpersist
Jacob Tomaw 1ba0af650a Use safer append to hook function arrays (#8406)
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>
2019-11-19 18:47:12 +01:00
..
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)