diff options
author | Profpatsch <mail@profpatsch.de> | 2013-10-02 23:24:21 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2013-10-02 23:24:21 +0200 |
commit | fa85b4d6ee4817a91bece2987f72da22ffe007a4 (patch) | |
tree | 8de86c27bb884bb6747a591e71d500f76a9399b1 /themes | |
parent | 61e3951e4be2f496d8ce8022afc58817c06e5dee (diff) | |
download | zsh-fa85b4d6ee4817a91bece2987f72da22ffe007a4.tar.gz zsh-fa85b4d6ee4817a91bece2987f72da22ffe007a4.tar.bz2 zsh-fa85b4d6ee4817a91bece2987f72da22ffe007a4.zip |
More expressive symbols for git and mercurial.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/agnoster.zsh-theme | 4 |
1 files 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') |