summaryrefslogtreecommitdiff
path: root/themes/agnoster.zsh-theme
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2013-10-24 20:28:22 -0700
committerRobby Russell <robby@planetargon.com>2013-10-24 20:28:22 -0700
commit042ee6e6eddd621ca6fa5853f3a9f1bdb5b4cc08 (patch)
treef7e470d69a56e6d0f384dd3dc56960dbf17edb92 /themes/agnoster.zsh-theme
parent9f88fb522901579242e1aaf99e420efd90fd0205 (diff)
parentfa85b4d6ee4817a91bece2987f72da22ffe007a4 (diff)
downloadzsh-042ee6e6eddd621ca6fa5853f3a9f1bdb5b4cc08.tar.gz
zsh-042ee6e6eddd621ca6fa5853f3a9f1bdb5b4cc08.tar.bz2
zsh-042ee6e6eddd621ca6fa5853f3a9f1bdb5b4cc08.zip
Merge pull request #2138 from Profpatsch/theme-agnoster
More expressive symbols for git and mercurial.
Diffstat (limited to 'themes/agnoster.zsh-theme')
-rw-r--r--themes/agnoster.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme
index 3ad4eff1f..2db565266 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')