From 9f202fc05f85755ab8beeb7f276aea47ad49bb07 Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Thu, 7 Apr 2011 10:21:43 -0400 Subject: [PATCH] themes/prose: make the Mercurial binary configurable --- themes/prose.zsh-theme | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/themes/prose.zsh-theme b/themes/prose.zsh-theme index 9ade9e573..8f7f75943 100644 --- a/themes/prose.zsh-theme +++ b/themes/prose.zsh-theme @@ -1,9 +1,13 @@ +if [ "x$OH_MY_ZSH_HG" = "x" ]; then + OH_MY_ZSH_HG="hg" +fi + function virtualenv_info { [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') ' } function hg_prompt_info { - hg prompt --angle-brackets "\ + $OH_MY_ZSH_HG prompt --angle-brackets "\ < on %{$fg[magenta]%}%{$reset_color%}>\ < at %{$fg[yellow]%}%{$reset_color%}>\ %{$fg[green]%}%{$reset_color%}<