From 646782f4a1d1a91b6806cbc7479d1cbc569e10bc Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 24 Apr 2015 22:49:32 +0200 Subject: .zsh.prompts/prompt_dvzrv_setup: Don't change colors when under different TERM. --- .zsh.prompts/prompt_dvzrv_setup | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) (limited to '.zsh.prompts') diff --git a/.zsh.prompts/prompt_dvzrv_setup b/.zsh.prompts/prompt_dvzrv_setup index 3046892..4758b7a 100644 --- a/.zsh.prompts/prompt_dvzrv_setup +++ b/.zsh.prompts/prompt_dvzrv_setup @@ -53,24 +53,13 @@ function prompt_steeef_simplified_setup { # Add hook for calling vcs_info before each command. add-zsh-hook precmd prompt_steeef_simplified_precmd - # Use extended color pallete if available. - if [[ $TERM = *256color* || $TERM = *rxvt* ]]; then - _prompt_steeef_simplified_colors=( - "%F{81}" # Turquoise - "%F{166}" # Orange - "%F{135}" # Purple - "%F{161}" # Hotpink - "%F{118}" # Limegreen - ) - else - _prompt_steeef_simplified_colors=( - "%F{cyan}" - "%F{yellow}" - "%F{magenta}" - "%F{red}" - "%F{green}" - ) - fi + _prompt_steeef_simplified_colors=( + "%F{cyan}" + "%F{yellow}" + "%F{magenta}" + "%F{red}" + "%F{green}" + ) # Formats: # %b - branchname -- cgit v1.2.3-54-g00ecf