Просмотр исходного кода

using_oh_my_zsh: adjust prompt colours

Have found out that fg_bold was preventing some solarized colours from appearing
in the prompt
Weiyi Lou 13 лет назад
Родитель
Сommit
27a226900e
1 измененных файлов с 7 добавлено и 8 удалено
  1. 7 8
      zsh/oh-my-zsh-customs/cinaeco.zsh-theme

+ 7 - 8
zsh/oh-my-zsh-customs/cinaeco.zsh-theme

@@ -1,10 +1,9 @@
 PROMPT='
-$fg[yellow][%n@%m] $fg_bold[green]%T $fg[cyan]%3~ $fg[blue]$(git_prompt_info)$reset_color
-→ $reset_color'
+$fg[yellow][%n@%m] $reset_color%T $fg[blue]%3~$reset_color $(git_prompt_info)$reset_color
+→ '
 
-ZSH_THEME_GIT_PROMPT_PREFIX="is a git repo [branch: "
-ZSH_THEME_GIT_PROMPT_SUFFIX="]"
-ZSH_THEME_GIT_PROMPT_CLEAN=" ✔ is clean"
-ZSH_THEME_GIT_PROMPT_DIRTY=" ✗ has changes"
-
-MODE_INDICATOR="-- Command --"
+MODE_INDICATOR="$fg[red]-- COMMAND MODE --$reset_color"
+ZSH_THEME_GIT_PROMPT_PREFIX="$fg[magenta]==> $fg[cyan]git( "
+ZSH_THEME_GIT_PROMPT_SUFFIX=" $fg[cyan])"
+ZSH_THEME_GIT_PROMPT_CLEAN=" $fg[green]✔$fg[cyan] is clean"
+ZSH_THEME_GIT_PROMPT_DIRTY=" $fg[red]✗$fg[cyan] has changes"