(I know the project is close-to-unmaintained, but I'm hoping it will be very quick to point me in the right direction for how to solve this.)
I love this project, but the branch name abbreviation drives me absolutely batty. The way we use git at work, all my branches start with the same chiphogg/ prefix, which thus contains zero information. And the end of the branch often includes #PROJ-1234 suffixes, which all kinda blend together. The real useful information is in the middle!
I want to configure the prompt to print the full branch name, always, no matter how long it is. Which pathway(s) are available to me?
- Follow the copy-and-modify approach at the end of the bash section
- Provide a PR to add a new environment variable that a user can set, to gate what I assume is the truncation code
- Fork this project and delete the truncation code
- ...something else?
Thanks in advance!
(I know the project is close-to-unmaintained, but I'm hoping it will be very quick to point me in the right direction for how to solve this.)
I love this project, but the branch name abbreviation drives me absolutely batty. The way we use git at work, all my branches start with the same
chiphogg/prefix, which thus contains zero information. And the end of the branch often includes#PROJ-1234suffixes, which all kinda blend together. The real useful information is in the middle!I want to configure the prompt to print the full branch name, always, no matter how long it is. Which pathway(s) are available to me?
Thanks in advance!