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
|
||||
rst=$(tput sgr0)
|
||||
red=$(tput setaf 1)
|
||||
green=$(tput setaf 2)
|
||||
yellow=$(tput setaf 3)
|
||||
blue=$(tput setaf 4)
|
||||
magenta=$(tput setaf 5)
|
||||
cyan=$(tput setaf 6)
|
||||
rst="$(printf '\033[0m')"
|
||||
red="$(printf '\033[31m')"
|
||||
green="$(printf '\033[32m')"
|
||||
yellow="$(printf '\033[33m')"
|
||||
blue="$(printf '\033[34m')"
|
||||
# magenta="$(printf '\033[35m')"
|
||||
cyan="$(printf '\033[36m')"
|
||||
else
|
||||
rst=''
|
||||
red=''
|
||||
green=''
|
||||
yellow=''
|
||||
blue=''
|
||||
magenta=''
|
||||
# magenta=''
|
||||
cyan=''
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue