1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-16 19:00:07 +00:00
ohmyzsh/plugins/last-working-dir
Marc Cornellà 610b2529d2 Clean up plugin READMEs and a few plugins
- fasd
- history
- mercurial
- pylint
- repo
- yii2
2020-03-11 19:57:46 +01:00
..
last-working-dir.plugin.zsh Use safer append to hook function arrays (#8406) 2019-11-19 18:47:12 +01:00
README.md Clean up plugin READMEs and a few plugins 2020-03-11 19:57:46 +01: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.

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:

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