Adding Space Before Equals in Git Prompt
Summary
It’s nice, simple, and it would be perfect if it didn’t put equals next to branch name. If you have modified files, Git-Prompt will make sure to let you know by writing in prompt line. If you want to quickly copy branch name, you simply double click it and only is selected. Cause for this issue can be found in the following line This makes it for that extra flags get space. Solution is simple – just add space always thus changing line like this: Or, if you like to do it programmatically: PS: If you are wondering, this is how my prompt setup looks:
Classifications
industries
HealthTech
applications
Networking and Cloud
AskAI Classifications
Labels
No AI classifications detected