summaryrefslogtreecommitdiff
path: root/fish/conf.d/games.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish/conf.d/games.fish')
-rw-r--r--fish/conf.d/games.fish15
1 files changed, 15 insertions, 0 deletions
diff --git a/fish/conf.d/games.fish b/fish/conf.d/games.fish
new file mode 100644
index 0000000..291a798
--- /dev/null
+++ b/fish/conf.d/games.fish
@@ -0,0 +1,15 @@
+function games::colorscript
+ if test -e ~/git/shell-color-scripts
+ cd ~/git/shell-color-scripts
+ set -x DEV 1
+ ./colorscript.sh --random
+ cd -
+ else
+ echo 'No colorscripts installed. Go to:'
+ echo ' https://gitlab.com/dwt1/shell-color-scripts'
+ end
+end
+
+if not test -f ~/.colorscript.disable
+ games::colorscript
+end