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

cd Gitroot

zsh plugin to cd to git repository root directory.

68 stars
12 forks

zsh plugin to change directory to git repository root directory

Inspired by id:hitode909 blog post.


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.


-h display help and exit