1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-26 07:40:07 +00:00

Merge pull request #4857 from depressiveRobot/master

fix terminal color pollution
This commit is contained in:
Marc Cornellà 2016-02-19 13:03:51 +01:00
commit 0d0042aad3

View file

@ -1,24 +1,24 @@
# mvn-color based on https://gist.github.com/1027800 # mvn-color based on https://gist.github.com/1027800
export BOLD=`tput bold` BOLD=`tput bold`
export UNDERLINE_ON=`tput smul` UNDERLINE_ON=`tput smul`
export UNDERLINE_OFF=`tput rmul` UNDERLINE_OFF=`tput rmul`
export TEXT_BLACK=`tput setaf 0` TEXT_BLACK=`tput setaf 0`
export TEXT_RED=`tput setaf 1` TEXT_RED=`tput setaf 1`
export TEXT_GREEN=`tput setaf 2` TEXT_GREEN=`tput setaf 2`
export TEXT_YELLOW=`tput setaf 3` TEXT_YELLOW=`tput setaf 3`
export TEXT_BLUE=`tput setaf 4` TEXT_BLUE=`tput setaf 4`
export TEXT_MAGENTA=`tput setaf 5` TEXT_MAGENTA=`tput setaf 5`
export TEXT_CYAN=`tput setaf 6` TEXT_CYAN=`tput setaf 6`
export TEXT_WHITE=`tput setaf 7` TEXT_WHITE=`tput setaf 7`
export BACKGROUND_BLACK=`tput setab 0` BACKGROUND_BLACK=`tput setab 0`
export BACKGROUND_RED=`tput setab 1` BACKGROUND_RED=`tput setab 1`
export BACKGROUND_GREEN=`tput setab 2` BACKGROUND_GREEN=`tput setab 2`
export BACKGROUND_YELLOW=`tput setab 3` BACKGROUND_YELLOW=`tput setab 3`
export BACKGROUND_BLUE=`tput setab 4` BACKGROUND_BLUE=`tput setab 4`
export BACKGROUND_MAGENTA=`tput setab 5` BACKGROUND_MAGENTA=`tput setab 5`
export BACKGROUND_CYAN=`tput setab 6` BACKGROUND_CYAN=`tput setab 6`
export BACKGROUND_WHITE=`tput setab 7` BACKGROUND_WHITE=`tput setab 7`
export RESET_FORMATTING=`tput sgr0` RESET_FORMATTING=`tput sgr0`
# Wrapper function for Maven's mvn command. # Wrapper function for Maven's mvn command.