commit babbe4cb9b3a530605438a7b7df1f047091c83f7 parent 1cd629c9a508b7f2cfd8bed0d3b9022a0c0cd532 Author: pyratebeard <root@pyratebeard.net> Date: Tue, 18 Jul 2017 20:47:16 +0100 modifed color of git prompt for classic Diffstat:
M | zsh/.zsh/prompt.zsh | | | 12 | +++--------- |
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/zsh/.zsh/prompt.zsh b/zsh/.zsh/prompt.zsh @@ -58,17 +58,11 @@ GIT_PROMPT() { ;; esac case "$PROMPT_STYLE" in - ninja) - echo "${COLOR_NORMAL}${ref}${dirty}${stat}" - ;; - ascii) - echo "%{$bg[magenta]%}%F{cyan}▓▒░ %F{black}${ref}${dirty}${stat} $reset_color%F{magenta}▒░" - ;; - arrows) - echo "%{$bg[magenta]%}%F{cyan} %F{black}${ref}${dirty}${stat} $reset_color%F{magenta}" + classic) + echo "${COLOR_NORMAL}─["${ref}${dirty}${stat}"]" ;; *) - echo "${USER_LEVEL}─[${COLOR_NORMAL}"${ref}${dirty}${stat}"${USER_LEVEL}]" + echo "${USER_LEVEL}─[${COLOR_NORMAL}"${ref}${dirty}${stat}"${USER_LEVEL}]" ;; esac }