Serpent7776 avatar

Diroctory switcher for git managed projects

serpent7776

Published: 29 Apr 2023 › Updated: 29 Apr 2023Diroctory switcher for git managed projects

Diroctory switcher for git managed projects

I created a directory switcher for the terminal that works for any git managed project.

This is a script that creates a keyboard mapping for Ctrl-G that shows all directories in a fuzzy finder (fzy by default). Once selected a directory, your working dir will be changed to the selected one. Selection can be cancelled by esc or ctrl-c. Directory will not be changed in that case.

This should work in bash, zsh, fish, tcsh and FreeBSD's sh.

https://github.com/serpent7776/cg

Leave Diroctory switcher for git managed projects to:

Written by

I like programming languages.

Read more #shell posts


Best Posts From Serpent7776

We have not curated any of serpent7776's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Serpent7776