1
0
Fork 1
mirror of https://example.com synced 2024-11-23 13:26:39 +09:00
firefish/neko/update/utils

18 lines
194 B
Text
Raw Normal View History

color() {
if [ -t 1 ]; then
tput setaf "${1:-7}"
fi
}
say() {
color 5 # magenta
echo -e "( ^-^) < $1"
color
}
running() {
color 3 # yellow
echo "[running] \$ $1"
color
}