From ba39f70736c77c4287652b09f50a4f9e489ba996 Mon Sep 17 00:00:00 2001 From: Joseph Geis Date: Sat, 3 Oct 2020 21:37:39 -0700 Subject: [PATCH] Added more insults --- git-blame-someone-else | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) mode change 100644 => 100755 git-blame-someone-else diff --git a/git-blame-someone-else b/git-blame-someone-else old mode 100644 new mode 100755 index e34d7d0..b1f689e --- a/git-blame-someone-else +++ b/git-blame-someone-else @@ -16,4 +16,14 @@ COMMIT=$(git rev-parse --short $2) git rebase --continue } &> /dev/null -echo "$AUTHOR_NAME is now the author of $COMMIT. You're officially an asshole."; +INSULTS=( + "You're officially an asshole." + "Great job." + "You dirty animal." + "They owe you one." +) + +INDEX=$(($RANDOM % ${#INSULTS[@]})) + +echo "$AUTHOR_NAME is now the author of $COMMIT. ${INSULTS[$INDEX]}"; +