A Zsh plugin for cycling through the directory stack.
You can use the Zsh framework of your choice to install Zsh Dircycle. For example, if you're using Antigen, add antigen bundle michaelxmcbride/zsh-dircycle
to your $ZDOTDIR/.zshrc
startup file. Generic installation instructions for additional frameworks can be found here.
- Do one of the following:
- Clone this repository.
- Download an archive of this repository and extract its contents.
- Add
source {directory}/dircycle.zsh
to your$ZDOTDIR/.zshrc
startup file, where{directory}
is the path of the directory containing thedircycle.zsh
file.
- Press the
Control
+Shift
+Left
key combination to cycle backward through the directory stack. - Press the
Control
+Shift
+Right
key combination to cycle forward through the directory stack.
Inspired by and borrowed from: