aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-25 12:57:06 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-25 12:57:06 +1200
commit1186fd3d1d5f6256c4541352b4f8343d5ebf79bb (patch)
tree422f5643cb3269c48c26cf3d42014fda5255fa11 /games
parentShow REBASE,MERGE etc in Git prompt (diff)
downloaddotfiles-1186fd3d1d5f6256c4541352b4f8343d5ebf79bb.tar.gz
dotfiles-1186fd3d1d5f6256c4541352b4f8343d5ebf79bb.zip
Add xyzzy(6)
Diffstat (limited to 'games')
-rwxr-xr-xgames/xyzzy6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/xyzzy b/games/xyzzy
new file mode 100755
index 00000000..691769b9
--- /dev/null
+++ b/games/xyzzy
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ -e "$HOME"/.xyzzy ] ; then
+ printf '%s\n' 'Nothing happens.'
+ exit 1
+fi
+printf '%s\n' 'I see no cave here.' > "$HOME"/.xyzzy