Ability to add git status to the console title / cleanse environment variables #1922
Closed
1 task done
Labels
🚀 feat
New feature
Code of Conduct
What would you like to see changed/added?
Please add the ability to include the git status to the console title. I still use Posh Git in my Windows 10 powershell 7 terminal and it does set the POSH_GIT_STATUS environment variable that I could use but OMP doesn't like it to be added to my console_title_template, e.g.:
"console_title_template": "{{ if .Root }}(Admin) {{ end }}{{ .Folder }}{{ .Env.POSH_GIT_STATUS }}"
I assume it is because it is full of escape characters to colourise it. Could it be possible to cleanse this variable so that it can be added to the console title?
The text was updated successfully, but these errors were encountered: