install: remove tput
dependency
This commit is contained in:
parent
2b6a5f79c9
commit
53eca95973
1 changed files with 8 additions and 8 deletions
16
install.sh
16
install.sh
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue