summary refs log tree commit diff stats
path: root/bin/waterboy
diff options
context:
space:
mode:
authorChristian Krinitsin <christian@krinitsin.xyz>2024-03-16 21:16:28 +0100
committerChristian Krinitsin <christian@krinitsin.xyz>2024-03-16 21:16:28 +0100
commite992c3c164e9bf8869fb8b20eaa17ca595d92aac (patch)
tree849e0f16837e5aa269fc136512e153ec3b889de6 /bin/waterboy
parentb8a4392c8754a56265701f97f4833b447efff29a (diff)
downloaddotfiles-e992c3c164e9bf8869fb8b20eaa17ca595d92aac.tar.gz
dotfiles-e992c3c164e9bf8869fb8b20eaa17ca595d92aac.zip
custom bins
Diffstat (limited to 'bin/waterboy')
-rwxr-xr-xbin/waterboy10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/waterboy b/bin/waterboy
new file mode 100755
index 0000000..9a1e425
--- /dev/null
+++ b/bin/waterboy
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ $# = 0 ]; then
+    echo "Give me some names, Waterboy!" | cowsay
+    exit 1
+fi
+
+chosen_one=$(shuf -e $@ | head -n 1)
+
+echo "Go $chosen_one, Waterboy!" | cowsay