Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[BUG] vcs_info - git branch with % in it's name



I think I found a bug within zsh's module vcs_info.

If a user is in a git repository with a '%' as part of the name of the
branch and he has '%b' in his prompt, he might get weird results, like:

 doron   bla9269ello  ~/repos/abcde 

Instead of:
 
 doron   bla%ello  ~/repos/abcde 
 
Has anyone encountered this before? I wonder why it happens..



Messages sorted by: Reverse Date, Date, Thread, Author