Groot and Friends #
Navigating within a mono repo can be tedious.
I frequently find myself doing cd ../.. to navigate to sibling folders or jumping to the root of the git directory to navigate and inspect other part of the code base.
To navigate to the root of the Git repository, I use an alias groot defined as
alias groot='cd $(git rev-parse --show-toplevel)'
Excellent tools such as fd and fzf help a lot but I want to be able to jump to different part of the repo with a few keystrokes. For example, in a mono repo, I want to be quickly jump from go/src/mou.dev/cmd to schema/proto.

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.