1 2 3 4 5 6 7 8 9 10
# -*- shell-script -*- #DESCRIPTION: Utilise KMS support in ponysay when in a TTY and running pony.computer if test "$TERM" = "linux"; then pony.computer () { PONYSAY_KMS_PALETTE="$PALETTE" /usr/bin/pony.computer "$@" printf "$PALETTE" } fi