zsh-prompt-generator icon indicating copy to clipboard operation
zsh-prompt-generator copied to clipboard

Add git info options

Open AngelVenchev opened this issue 5 years ago • 1 comments

It'd be great to add options to include git info like current branch or maybe tag or commit hash prefix if none of the above are existant and also a good fallback to empty if you're not in a git repo.

AngelVenchev avatar Feb 19 '20 15:02 AngelVenchev

Thank you for your request, and that would be good 👍 To display and format git info on zsh prompt, it's required to write zstyle ':vsc_info:git:*' ... not only PROMPT env var. So it might takes a time to implement it, but I (or someone) will try it!

k-yokoishi avatar Mar 01 '20 00:03 k-yokoishi