You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
384 B
15 lines
384 B
# 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) |
|
```
|
|
|