Skip to content
Browse files

themes/nanotech: Use the new built-in zsh color variables.

  • Loading branch information...
1 parent 68f893c commit 2a203b558fd6328c9a91e9dbbf145d91e7ba7ed1 @nanotech nanotech committed Nov 14, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 themes/nanotech.zsh-theme
View
10 themes/nanotech.zsh-theme
@@ -1,7 +1,7 @@
-PROMPT=' %{$fg_bold[green]%}%2c %{$fg_bold[blue]%}%{[%}%{$reset_color%} '
-RPROMPT='$(git_prompt_info) %{$fg[blue]%}] %{$fg[green]%}%D{%L:%M} %{$fg[yellow]%}%D{%p}%{$reset_color%} '
+PROMPT='%F{green}%2c%F{blue} [%f '
+RPROMPT='$(git_prompt_info) %F{blue}] %F{green}%D{%L:%M} %F{yellow}%D{%p}%f'
-ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}"
-ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
-ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}*%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_PREFIX="%F{yellow}"
+ZSH_THEME_GIT_PROMPT_SUFFIX="%f"
+ZSH_THEME_GIT_PROMPT_DIRTY=" %F{red}*%f"
ZSH_THEME_GIT_PROMPT_CLEAN=""

0 comments on commit 2a203b5

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