Permalink
Browse files

Refactor zsh theme

  • Loading branch information...
1 parent 4ea6530 commit fa39dc8bea86d5b95cb0035c73baf9d96f3271c7 Jamal El Milahi committed Mar 1, 2012
Showing with 24 additions and 10 deletions.
  1. +24 −10 zsh/themes/bloc40.zsh-theme
View
34 zsh/themes/bloc40.zsh-theme
@@ -7,24 +7,38 @@
# purple $FG[133]
# light green $FG[118]
# dard blue $FG[012]
+CYAN=$fg_bold[cyan]
+RED=$FG[124]
+GRAY=$FG[242]
+GREEN=$FG[077]
+PURPLE=$FG[133]
+LIGHT_GREEN=$FG[118]
+DARD_BLUE=$FG[012]
-# GIT_DIRTY_COLOR=$fg[red]
-# GIT_CLEAN_COLOR=$fg[green]
-GIT_PROMPT_INFO=$fg_bold[cyan]
+#GIT_DIRTY_COLOR=$fg[red]
+#GIT_CLEAN_COLOR=$fg[green]
+GIT_PROMPT_INFO=$CYAN
PATH_COLOR=$fg[yellow]
PROMPT='%{$PATH_COLOR%}%~%{$GIT_PROMPT_INFO%} $(git_prompt_info)$(git_prompt_status) %{$reset_color%}$ '
# Format for git_prompt_info()
ZSH_THEME_GIT_PROMPT_PREFIX="("
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$GIT_PROMPT_INFO%})"
-ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} ✘"
-ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%} ✔"
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$RED%} ✘"
+ZSH_THEME_GIT_PROMPT_CLEAN="%{$GREEN%} ✔"
# Format for git_prompt_status()
-ZSH_THEME_GIT_PROMPT_DELETED=" %{$fg[red]%}✖"
-ZSH_THEME_GIT_PROMPT_MODIFIED=" %{$fg[red]%}✘"
-ZSH_THEME_GIT_PROMPT_ADDED=" %{$fg[green]%}∆"
-ZSH_THEME_GIT_PROMPT_UNTRACKED=" %{$FG[133]%}✭"
+ZSH_THEME_GIT_PROMPT_DELETED=" %{$DARK_BLUE%}✖"
+ZSH_THEME_GIT_PROMPT_MODIFIED=" %{$RED%}⚡"
+ZSH_THEME_GIT_PROMPT_ADDED=" %{$GREEN%}∆"
+ZSH_THEME_GIT_PROMPT_UNTRACKED=" %{$PURPLE%}✭"
ZSH_THEME_GIT_PROMPT_RENAMED=" %{$fg[yellow]%}➜"
-ZSH_THEME_GIT_PROMPT_UNMERGED=" %{$fg[red]%}unmerged"
+ZSH_THEME_GIT_PROMPT_UNMERGED=" %{$RED%}unmerged"
+
+#ZSH_THEME_GIT_PROMPT_DELETED=" %{$FG[012]%}D"
+#ZSH_THEME_GIT_PROMPT_MODIFIED=" %{$FG[124]%}M"
+#ZSH_THEME_GIT_PROMPT_ADDED=" %{$FG[118]%}A"
+#ZSH_THEME_GIT_PROMPT_UNTRACKED=" %{$FG[133]%}U"
+#ZSH_THEME_GIT_PROMPT_RENAMED=" %{$fg[yellow]%}R"
+#ZSH_THEME_GIT_PROMPT_UNMERGED=" %{$FG[124]%}U"

0 comments on commit fa39dc8

Please sign in to comment.