dotfiles/.oh-my-zsh/plugins/last-working-dir
2020-06-29 00:32:26 +02:00
..
last-working-dir.plugin.zsh Add Oh my zsh configs 2020-06-29 00:32:26 +02:00
README.md Add Oh my zsh configs 2020-06-29 00:32:26 +02: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)