colors switch

This commit is contained in:
Matthias Kretschmann 2017-10-16 17:17:29 +02:00
parent 2014471e0d
commit 35e6bfe45e
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 11 additions and 12 deletions

View File

@ -71,19 +71,18 @@ if tput setaf 1 &> /dev/null; then
bold=$(tput bold); bold=$(tput bold);
dim=$(tput setaf 8); dim=$(tput setaf 8);
reset=$(tput sgr0); reset=$(tput sgr0);
# Tomorrow colors, taken from https://github.com/Slava/vim-colors-tomorrow/blob/master/colors/tomorrow.vim black=$(tput setaf 16);
black=$(tput setaf 236); gray=$(tput setaf 8);
gray=$(tput setaf 242); blue=$(tput setaf 4);
blue=$(tput setaf 109); green=$(tput setaf 2);
green=$(tput setaf 143); cyan=$(tput setaf 6);
cyan=$(tput setaf 43); orange=$(tput setaf 3);
orange=$(tput setaf 173); purple=$(tput setaf 5);
purple=$(tput setaf 125); red=$(tput setaf 1);
red=$(tput setaf 167); magenta=$(tput setaf 13);
magenta=$(tput setaf 139); violet=$(tput setaf 13);
violet=$(tput setaf 139);
white=$(tput setaf 15); white=$(tput setaf 15);
yellow=$(tput setaf 136); yellow=$(tput setaf 11);
else else
bold=''; bold='';
reset="\e[0m"; reset="\e[0m";