Skip to content
This repository
Browse code

improvements to the 'clean' theme

  • Loading branch information...
commit 9658449450685d5adae867a0b79eddc47262f65e 1 parent 5149679
authored January 02, 2010

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  themes/clean.zsh-theme
4  themes/clean.zsh-theme
... ...
@@ -1,4 +1,6 @@
1  
-PROMPT='%n:%{$fg[blue]%}%B%c%b%{$reset_color%} $(git_prompt_info)%(!.#.$) '
  1
+if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="white"; fi
  2
+
  3
+PROMPT='%{$fg[$NCOLOR]%}%n%{$reset_color%}:%{$fg[blue]%}%B%c/%b%{$reset_color%} $(git_prompt_info)%(!.#.$) '
2 4
 RPROMPT='[%*]'
3 5
 
4 6
 # git theming

0 notes on commit 9658449

Please sign in to comment.
Something went wrong with that request. Please try again.