Discover, install, and configure shell plugins with Fig Plugin Store →
🚀

cd Gitroot

zsh plugin to cd to git repository root directory.

mollifier
|
66 stars
12 forks

zsh plugin to change directory to git repository root directory

Inspired by id:hitode909 blog post.

Usage

cd-gitroot [PATH]

If PATH isn't specified, change directory to current git repository root directory. else change directory to PATH instead of it. PATH is treated relative path in git root directory.

Options

-h display help and exit