/zsh-dircycle

A Zsh plugin for cycling through the directory stack.

Primary LanguageShellMIT LicenseMIT

Zsh Dircycle

A Zsh plugin for cycling through the directory stack.

Installation

Framework

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.

Manual

  1. Do one of the following:
    • Clone this repository.
    • Download an archive of this repository and extract its contents.
  2. Add source {directory}/dircycle.zsh to your $ZDOTDIR/.zshrc startup file, where {directory} is the path of the directory containing the dircycle.zsh file.

Usage

  • 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.

Credits

Inspired by and borrowed from:

License

MIT