From d1be12fa3eedd6f5016f421a0ff57d619b0fef4d Mon Sep 17 00:00:00 2001 From: bretello Date: Sat, 26 Mar 2022 15:51:57 +0100 Subject: [PATCH] zsh: add UNDERLINE to colors --- colors.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/colors.zsh b/colors.zsh index 508668d..774b100 100755 --- a/colors.zsh +++ b/colors.zsh @@ -23,6 +23,9 @@ BCyan='\e[1;36m' # Cyan BWhite='\e[1;37m' # White # Underline +if command -v tput &>/dev/null; then + UNDERLINE="$(tput smul)" +fi UBlack='\e[4;30m' # Black URed='\e[4;31m' # Red UGreen='\e[4;32m' # Green