Browse code

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

NanoTech authored on 14/11/2010 at 22:51:19
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1
-PROMPT=' %{$fg_bold[green]%}%2c %{$fg_bold[blue]%}%{[%}%{$reset_color%} '
2
-RPROMPT='$(git_prompt_info) %{$fg[blue]%}] %{$fg[green]%}%D{%L:%M} %{$fg[yellow]%}%D{%p}%{$reset_color%} '
1
+PROMPT='%F{green}%2c%F{blue} [%f '
2
+RPROMPT='$(git_prompt_info) %F{blue}] %F{green}%D{%L:%M} %F{yellow}%D{%p}%f'
3 3
 
4
-ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}"
5
-ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
6
-ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}*%{$reset_color%}"
4
+ZSH_THEME_GIT_PROMPT_PREFIX="%F{yellow}"
5
+ZSH_THEME_GIT_PROMPT_SUFFIX="%f"
6
+ZSH_THEME_GIT_PROMPT_DIRTY=" %F{red}*%f"
7 7
 ZSH_THEME_GIT_PROMPT_CLEAN=""