summaryrefslogtreecommitdiff
path: root/plugins/last-working-dir/README.md
blob: ced9e0370d315b426493a5269d08e4b904a191d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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`.

Also adds `lwd` function to jump to the last working directory.

To use it, add `last-working-dir` to the plugins array in your zshrc file:

```zsh
plugins=(... last-working-dir)
```