Commit 2e0405a0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-functions: add set_color

parent 420ca8b6
......@@ -84,6 +84,14 @@ set_boldcolor()
} |tput -S
}
set_color()
{
[ "$USETTY" = "1" ] || return
{
echo setaf $1
} |tput -S
}
restore_color()
{
[ "$USETTY" = "1" ] || return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment