Browse code

Move the spaces around again :P

Geoff Garside authored on 31/08/2009 at 21:24:03
Showing 2 changed files
... ...
@@ -4,7 +4,7 @@ function git_prompt_info() {
4 4
   branch=${ref#refs/heads/}
5 5
 
6 6
   if [[ -d .git ]]; then
7
-    CURRENT_BRANCH="(%{$fg[red]%}${branch}%{$reset_color%})$(parse_git_dirty) "
7
+    CURRENT_BRANCH="(%{$fg[red]%}${branch}%{$reset_color%})$(parse_git_dirty)"
8 8
   else
9 9
     CURRENT_BRANCH=''
10 10
   fi
... ...
@@ -1,2 +1,2 @@
1 1
 # PROMPT="[%*] %n:%c $(git_prompt_info)%(!.#.$) "
2
-PROMPT='[%*] %{$fg[cyan]%}%n%{$reset_color%}:%{$fg[green]%}%c%{$reset_color%} $(git_prompt_info)%(!.#.$) '
2
+PROMPT='[%*] %{$fg[cyan]%}%n%{$reset_color%}:%{$fg[green]%}%c%{$reset_color%}$(git_prompt_info) %(!.#.$) '