aboutsummaryrefslogtreecommitdiffstats
path: root/ponysay/bash-aliases
diff options
context:
space:
mode:
Diffstat (limited to 'ponysay/bash-aliases')
-rw-r--r--ponysay/bash-aliases10
1 files changed, 10 insertions, 0 deletions
diff --git a/ponysay/bash-aliases b/ponysay/bash-aliases
new file mode 100644
index 0000000..3b9faed
--- /dev/null
+++ b/ponysay/bash-aliases
@@ -0,0 +1,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