When this option is enabled, the prompt gets totally screwed in zsh
because all the codes start with % in zsh (like they are \ in bas). So
we need to escape the % character.
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com
---
contrib/completion/git-prompt.sh | 6 +-
1 file
Felipe Contreras felipe.contre...@gmail.com writes:
+ if [ -n ${ZSH_VERSION-} ]; then
+ u=%%
+ else
+ u=%
+ fi
aka u=%${ZSH_VERSION:+%}
On Sun, Apr 21, 2013 at 4:11 AM, Felipe Contreras
felipe.contre...@gmail.com wrote:
When this option is enabled, the prompt gets totally screwed in zsh
because all the codes start with % in zsh (like they are \ in bas). So
s/bas/bash/
we need to escape the % character.
Signed-off-by: Felipe
Felipe Contreras felipe.contre...@gmail.com writes:
When this option is enabled, the prompt gets totally screwed in zsh
because all the codes start with % in zsh (like they are \ in bas). So
we need to escape the % character.
It is not that I do not believe that $u needs to duplicate %% in
Felipe Contreras felipe.contre...@gmail.com writes:
When this option is enabled, the prompt gets totally screwed in zsh
because all the codes start with % in zsh (like they are \ in bas). So
we need to escape the % character.
It is not that I do not believe that $u needs to duplicate %% in
Andreas Schwab sch...@linux-m68k.org writes:
Felipe Contreras felipe.contre...@gmail.com writes:
+if [ -n ${ZSH_VERSION-} ]; then
+u=%%
+else
+u=%
+
Junio C Hamano gits...@pobox.com writes:
Andreas Schwab sch...@linux-m68k.org writes:
Felipe Contreras felipe.contre...@gmail.com writes:
+ if [ -n ${ZSH_VERSION-} ]; then
+ u=%%
+ else
+
On Sun, Apr 21, 2013 at 2:02 PM, Andreas Schwab sch...@linux-m68k.org wrote:
Junio C Hamano gits...@pobox.com writes:
Andreas Schwab sch...@linux-m68k.org writes:
Felipe Contreras felipe.contre...@gmail.com writes:
+ if [ -n ${ZSH_VERSION-} ]; then
+
Felipe Contreras felipe.contre...@gmail.com writes:
On Sun, Apr 21, 2013 at 2:02 PM, Andreas Schwab sch...@linux-m68k.org wrote:
Junio C Hamano gits...@pobox.com writes:
Andreas Schwab sch...@linux-m68k.org writes:
Felipe Contreras felipe.contre...@gmail.com writes:
+
On Sun, Apr 21, 2013 at 5:00 PM, Junio C Hamano gits...@pobox.com wrote:
Felipe Contreras felipe.contre...@gmail.com writes:
On Sun, Apr 21, 2013 at 2:02 PM, Andreas Schwab sch...@linux-m68k.org
wrote:
Junio C Hamano gits...@pobox.com writes:
Andreas Schwab sch...@linux-m68k.org writes:
10 matches
Mail list logo