]> git.rmz.io Git - dotfiles.git/commitdiff
give some color to darwin
authorSamir Benmendil <samir.benmendil@gmail.com>
Sun, 3 Feb 2013 22:44:34 +0000 (23:44 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Sun, 3 Feb 2013 22:44:34 +0000 (23:44 +0100)
zsh/themes/ramsi.zsh-theme

index e0d852f794005a280f765aee531a3328eed409cc..772777f1b49e9e543cfe3c3bb992adeb04f3c113 100644 (file)
@@ -1,5 +1,6 @@
-[[ $(hostname) == "tardis" ]] && hostcolor=red
-[[ $(hostname) == "shada" ]]  && hostcolor=green
+[[ $(hostname) == "tardis" ]]  && hostcolor=red
+[[ $(hostname) == "shada" ]]   && hostcolor=green
+[[ $(hostname) == "darwin" ]]  && hostcolor=green
 PROMPT='%(?..%{$fg_bold[white]%}[%?])%{$reset_color%}[%D{%k:%M} %n@%{$fg[$hostcolor]%}%m%{$reset_color%}$(git_prompt_info)]%# '
 RPROMPT='%{$fg[green]%}%~%{$reset_color%}'