mirror of
https://git.adityakumar.xyz/config.git
synced 2024-12-25 11:12:53 +00:00
11 lines
306 B
Markdown
11 lines
306 B
Markdown
|
# 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:
|
||
|
|
||
|
```zsh
|
||
|
plugins=(... dirpersist)
|
||
|
```
|