diff options
author | David Runge <dave@sleepmap.de> | 2015-04-24 22:49:32 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-04-24 22:49:32 +0200 |
commit | 646782f4a1d1a91b6806cbc7479d1cbc569e10bc (patch) | |
tree | dd4f31240e8d022509b11b0d1bb4eda99157dba4 /.zsh.prompts | |
parent | 5e410f2a974c6c16d66493b4697fbc8d6702537e (diff) | |
download | dotfiles-646782f4a1d1a91b6806cbc7479d1cbc569e10bc.tar.gz dotfiles-646782f4a1d1a91b6806cbc7479d1cbc569e10bc.tar.bz2 dotfiles-646782f4a1d1a91b6806cbc7479d1cbc569e10bc.tar.xz dotfiles-646782f4a1d1a91b6806cbc7479d1cbc569e10bc.zip |
.zsh.prompts/prompt_dvzrv_setup: Don't change colors when under different TERM.
Diffstat (limited to '.zsh.prompts')
-rw-r--r-- | .zsh.prompts/prompt_dvzrv_setup | 25 |
1 files changed, 7 insertions, 18 deletions
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 |