If you have multiple software repositories, how do you move between them?
Possibly you have all repositories checked out into the same parent directory?
Do you cd .. a lot?

Save some time by making a new “go-to-repository-command”. Let’s call this command “r”. Mine looks like this:

The function itself is pretty short. Adding tab completion is the tricky part. The solution above supports both bash and ZSH. The following links was useful when coding it:

Simply typing “r” will take you to the parent directory.
Typing “r repo1” will take you directly to the repo1 child directory, regardless of where you are currently standing.
Tab completion always acts as if you were standing in the parent directory.

Now you may skip cd .. entirely!

You may want to investigate which terminal commands you commonly use. Perhaps cd .. is there?