mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 08:20:09 +00:00
610b2529d2
- fasd - history - mercurial - pylint - repo - yii2
15 lines
384 B
Markdown
15 lines
384 B
Markdown
# 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)
|
|
```
|