From 0a525c3a4e0156523a18c5f058d6a052f1306eff Mon Sep 17 00:00:00 2001 From: Philip Patsch Date: Wed, 2 Oct 2013 21:58:31 +0200 Subject: [PATCH 1/2] Add exemplary custom templates folder. --- custom/themes/your-theme.zsh-theme | 1 + 1 file changed, 1 insertion(+) create mode 100644 custom/themes/your-theme.zsh-theme diff --git a/custom/themes/your-theme.zsh-theme b/custom/themes/your-theme.zsh-theme new file mode 100644 index 000000000..6f9c9db8c --- /dev/null +++ b/custom/themes/your-theme.zsh-theme @@ -0,0 +1 @@ +# Put your custom themes in this folder. From bc75311eb32e0b2eafda57c17f0ba561be79e29e Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Wed, 2 Oct 2013 22:44:40 +0200 Subject: [PATCH 2/2] More expressive symbols for git and mercurial. --- themes/agnoster.zsh-theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index c7a59ad0d..7df4ec1e8 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -90,7 +90,7 @@ prompt_git() { zstyle ':vcs_info:*' formats ' %u%c' zstyle ':vcs_info:*' actionformats '%u%c' vcs_info - echo -n "${ref/refs\/heads\// }${vcs_info_msg_0_}" + echo -n "${ref/refs\/heads\//± }${vcs_info_msg_0_}" fi } @@ -110,7 +110,7 @@ prompt_hg() { # if working copy is clean prompt_segment green black fi - echo -n $(hg prompt " {rev}@{branch}") $st + echo -n $(hg prompt "☿ {rev}@{branch}") $st else st="" rev=$(hg id -n 2>/dev/null | sed 's/[^-0-9]//g')