aboutsummaryrefslogtreecommitdiffstats
path: root/pony.computer/bash-aliases
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pony.computer/bash-aliases10
1 files changed, 10 insertions, 0 deletions
diff --git a/pony.computer/bash-aliases b/pony.computer/bash-aliases
new file mode 100644
index 0000000..4a9326d
--- /dev/null
+++ b/pony.computer/bash-aliases
@@ -0,0 +1,10 @@
+# -*- shell-script -*-
+
+#DESCRIPTION: Utilise KMS support in ponysay when in a TTY and running pony.computer
+
+if "$TERM" = "linux"; then
+ pony.computer () {
+ PONYSAY_KMS_PALETTE="$PALETTE" /usr/bin/pony.computer "$@"
+ printf "$PALETTE"
+ }
+fi