summaryrefslogtreecommitdiff
path: root/themes/steeef.zsh-theme
diff options
context:
space:
mode:
authorBob Williams <bobwilliams.ii@gmail.com>2014-03-14 10:32:03 -0400
committerBob Williams <bobwilliams.ii@gmail.com>2014-03-14 10:32:03 -0400
commit223fd60ba597b8c23569c65878d766c3c933fa70 (patch)
tree33c5c6a150293e6cf81f26f0f1b9c733dcf8aab7 /themes/steeef.zsh-theme
parent185cb6e37352cc0d92042e35d259b0de3f5f3886 (diff)
parentee21fe94473404b58cbaea5b2c279f7a07c34ce1 (diff)
downloadzsh-223fd60ba597b8c23569c65878d766c3c933fa70.tar.gz
zsh-223fd60ba597b8c23569c65878d766c3c933fa70.tar.bz2
zsh-223fd60ba597b8c23569c65878d766c3c933fa70.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'themes/steeef.zsh-theme')
-rw-r--r--themes/steeef.zsh-theme8
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/steeef.zsh-theme b/themes/steeef.zsh-theme
index 312229e9f..e0080b8a5 100644
--- a/themes/steeef.zsh-theme
+++ b/themes/steeef.zsh-theme
@@ -8,7 +8,7 @@
# http://briancarper.net/blog/570/git-info-in-your-zsh-prompt
function virtualenv_info {
- [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
+ [ $VIRTUAL_ENV ] && echo '('$fg[blue]`basename $VIRTUAL_ENV`%{$reset_color%}') '
}
PR_GIT_UPDATE=1
@@ -87,7 +87,7 @@ function steeef_precmd {
else
FMT_BRANCH="(%{$turquoise%}%b%u%c${PR_RST})"
fi
- zstyle ':vcs_info:*:prompt:*' formats "${FMT_BRANCH}"
+ zstyle ':vcs_info:*:prompt:*' formats "${FMT_BRANCH} "
vcs_info 'prompt'
PR_GIT_UPDATE=
@@ -96,5 +96,5 @@ function steeef_precmd {
add-zsh-hook precmd steeef_precmd
PROMPT=$'
-%{$purple%}%n%{$reset_color%} at %{$orange%}%m%{$reset_color%} in %{$limegreen%}%~%{$reset_color%} $vcs_info_msg_0_
-$(virtualenv_info)$ '
+%{$purple%}%n%{$reset_color%} at %{$orange%}%m%{$reset_color%} in %{$limegreen%}%~%{$reset_color%} $vcs_info_msg_0_$(virtualenv_info)%{$reset_color%}
+$ '