summaryrefslogtreecommitdiff
path: root/commands/y
diff options
context:
space:
mode:
authornoa2024-01-03 10:33:14 +0000
committernoa2024-01-03 10:33:14 +0000
commitbf0cf3862464b741fac3044c7898c1aeb9e9cd62 (patch)
tree9c03ce5fd45cb87b15ed2743a795234f65bf0f74 /commands/y
parentc6dcab9d7ead82b6cf7d985c3fa46527dcccc7b2 (diff)
Move all commands into commands/ subdirectory
Diffstat (limited to 'commands/y')
-rwxr-xr-xcommands/y13
1 files changed, 13 insertions, 0 deletions
diff --git a/commands/y b/commands/y
new file mode 100755
index 0000000..db15c4b
--- /dev/null
+++ b/commands/y
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+N=$((1 + $RANDOM % 2))
+
+case $N in
+ 1)
+ echo "y"
+ ;;
+ 2)
+ echo "HONK"
+ ;;
+esac
+