mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-10-01 05:52:34 +07:00
Merge branch 'master' into 'master'
Fix 'tput: not enough arguments (3) for capability `setaf'' warning in OpenBSD See merge request jschx/ufetch!61
This commit is contained in:
+8
-8
@@ -42,14 +42,14 @@ fi
|
|||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 0 0)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 0 0)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 0 0)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 0 0)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 0 0)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 0 0)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 0 0)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 0 0)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user