conf2/zsh/.oh-my-zsh/plugins/last-working-dir/README.md

16 lines
384 B
Markdown
Raw Normal View History

2019-01-12 15:47:23 +00:00
# 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`.
2020-06-11 14:41:32 +00:00
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)
```