aboutsummaryrefslogtreecommitdiffstats
path: root/ponysay/bash-aliases
blob: 728f10eb980146ef662a9ba2b950d0ce03bef0e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# -*- shell-script -*-

#DESCRIPTION: Utilise KMS support in ponysay when in a TTY

if test "$TERM" = "linux"; then
	ponysay () {
		PONYSAY_KMS_PALETTE="$PALETTE" /usr/bin/ponysay "$@"
		printf "$PALETTE"
	}
fi