dir-bunny is a CLI tool that lets you hop back and forth between your current working directory and the directories you were in before.
nodejs and npm are required to run dir-bunny.
Install dir-bunny globally using npm.
npm install dir-bunny -gAdd this line to your .zshrc file.
eval "$(dir-bunny init zsh)"-
Jump backward: Ctrl + o
-
Jump forward: Ctrl + i