Skip to content

JoniVanderheijden/prezto-last-working-dir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

prezto-last-working-dir module

Keeps track of the last used working directory and automatically jumps into it for new shells, unless the starting directory is not $HOME.

Also adds a lwd function to jump to the last working directory.

Installation

  1. Launch Zsh:

    zsh
  2. Clone the repository into the Prezto modules folder:

    git clone https://github.com/JoniVanderheijden/prezto-last-working-dir.git "${ZDOTDIR:-$HOME}/.zprezto/modules"
  3. Add prezto-last-working-dir to the modules section of ${ZDOTDIR:-$HOME}/.zpreztorc:

zstyle ':prezto:load' pmodule \
  ...other modules
  'prezto-last-working-dir'

About

Created a version of the oh-my-zsh last-working-dir plugin for Prezto https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/last-working-dir

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages