zsh:stderred.theme: Use escape-sequences w/o tput
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
# Bold red
|
||||
export STDERRED_ESC_CODE="$(tput bold && tput setaf 1)"
|
||||
|
||||
if command -v tput >/dev/null 2>&1; then
|
||||
STDERRED_ESC_CODE="$(tput bold && tput setaf 1)"
|
||||
else
|
||||
STDERRED_ESC_CODE="\e[1m\e31m"
|
||||
fi
|
||||
export STDERRED_ESC_CODE
|
||||
|
||||
export STDERRED_BLACKLIST="^(git|curl|wget|swipl)$"
|
||||
|
||||
Reference in New Issue
Block a user