summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git.zsh2
-rw-r--r--themes/geoffgarside.zsh-theme2
2 files changed, 2 insertions, 2 deletions
diff --git a/git.zsh b/git.zsh
index a8e2e36aa..1b458762d 100644
--- a/git.zsh
+++ b/git.zsh
@@ -4,7 +4,7 @@ function git_prompt_info() {
branch=${ref#refs/heads/}
if [[ -d .git ]]; then
- CURRENT_BRANCH="(%{$fg[red]%}${branch}%{$reset_color%})$(parse_git_dirty) "
+ CURRENT_BRANCH="(%{$fg[red]%}${branch}%{$reset_color%})$(parse_git_dirty)"
else
CURRENT_BRANCH=''
fi
diff --git a/themes/geoffgarside.zsh-theme b/themes/geoffgarside.zsh-theme
index 5c37ffc3e..38733d95c 100644
--- a/themes/geoffgarside.zsh-theme
+++ b/themes/geoffgarside.zsh-theme
@@ -1,2 +1,2 @@
# PROMPT="[%*] %n:%c $(git_prompt_info)%(!.#.$) "
-PROMPT='[%*] %{$fg[cyan]%}%n%{$reset_color%}:%{$fg[green]%}%c%{$reset_color%} $(git_prompt_info)%(!.#.$) '
+PROMPT='[%*] %{$fg[cyan]%}%n%{$reset_color%}:%{$fg[green]%}%c%{$reset_color%}$(git_prompt_info) %(!.#.$) '