3 ms·
The author likes using long branch names, except for that this makes their prompt look ugly. One workaround they've used is to use a shorter branch name locall
by rgoulter 6y ago
The author likes using long branch names, except for that this makes their prompt look ugly.
One workaround they've used is to use a shorter branch name locally which tracks the longer remote branch name.
This blogpost shows details about looking into abbreviating the branch name in the shell code for the git part of the prompt. The author found a way to do it by making use of a particular colorising hook.