Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG] vcs_info - git branch with % in it's name
- X-seq: zsh-workers 42165
- From: Doron Behar <doron.behar@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [BUG] vcs_info - git branch with % in it's name
- Date: Mon, 25 Dec 2017 11:33:06 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=KdkF1Qnegz6HzCU9jkMB5VnEvnwt1luozeGd9/m7Syo=; b=cQJd/7w04DZdDiMX1RMoPvMDnCShdK9Iu51F13JC2uYwRQAq9/nkls4ugLpsEVpj1C YqkWv/Ph4TEvcmxmdDDCIy/USq1N0yRK8WPJdR4rAvFhotpnKAxxfkTGmriTIqH5tytt vP/ShDm3KQqpOgjN03j9n//ju9PhwuForo3unhZUQIJLqQEAGRs9PF2In9c2e6Jj2d7k 2A4dgEt5y6lWCys0kM5ntVDQedv3wY8UoIJaWf8N2WuF63HcCbSlU9DT8V9IqIQfHrWN WTm0qB+pjF1kPee9mzPRTCfBeBp2CPASueo6MbCFFpVcNLoE7bJgPb3fK6ZHjuLyH+Bv Dn2Q==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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