2a203b558fd6328c9a91e9dbbf145d91e7ba7ed1
- Author
- NanoTech <nanotech008@gmail.com>
- Committer
- NanoTech <nanotech008@gmail.com>
- Date
Message
themes/nanotech: Use the new built-in zsh color variables.
Diff
1diff --git a/themes/nanotech.zsh-theme b/themes/nanotech.zsh-theme
2index eddb23c94140fe81e14ea063df8b8ad4fd2139cf..5d3331639dd86f3775730a977b78446b3ea9f5ff 100644
3--- a/themes/nanotech.zsh-theme
4+++ b/themes/nanotech.zsh-theme
5@@ -1,7 +1,7 @@
6-PROMPT=' %{$fg_bold[green]%}%2c %{$fg_bold[blue]%}%{[%}%{$reset_color%} '
7-RPROMPT='$(git_prompt_info) %{$fg[blue]%}] %{$fg[green]%}%D{%L:%M} %{$fg[yellow]%}%D{%p}%{$reset_color%} '
8+PROMPT='%F{green}%2c%F{blue} [%f '
9+RPROMPT='$(git_prompt_info) %F{blue}] %F{green}%D{%L:%M} %F{yellow}%D{%p}%f'
10
11-ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}"
12-ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
13-ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}*%{$reset_color%}"
14+ZSH_THEME_GIT_PROMPT_PREFIX="%F{yellow}"
15+ZSH_THEME_GIT_PROMPT_SUFFIX="%f"
16+ZSH_THEME_GIT_PROMPT_DIRTY=" %F{red}*%f"
17 ZSH_THEME_GIT_PROMPT_CLEAN=""