install: remove tput dependency

This commit is contained in:
Fernando Schauenburg 2023-02-26 17:27:12 +01:00
parent 2b6a5f79c9
commit 53eca95973

View file

@ -142,20 +142,20 @@ nvim_plugins() {
############################################################################### ###############################################################################
if [ -t 1 ]; then if [ -t 1 ]; then
rst=$(tput sgr0) rst="$(printf '\033[0m')"
red=$(tput setaf 1) red="$(printf '\033[31m')"
green=$(tput setaf 2) green="$(printf '\033[32m')"
yellow=$(tput setaf 3) yellow="$(printf '\033[33m')"
blue=$(tput setaf 4) blue="$(printf '\033[34m')"
magenta=$(tput setaf 5) # magenta="$(printf '\033[35m')"
cyan=$(tput setaf 6) cyan="$(printf '\033[36m')"
else else
rst='' rst=''
red='' red=''
green='' green=''
yellow='' yellow=''
blue='' blue=''
magenta='' # magenta=''
cyan='' cyan=''
fi fi