Last active
June 1, 2024 00:37
-
-
Save JettIsOnTheNet/4ac1b766fc4869ef8f0bc903f699bbf2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is a wrapper for the go cmd that will wrap go and add a fuck cmd to go that spits out an insult. | |
| # put the .gofck file in your homedir, then add this line to your .bash_profile or .bashrc | |
| # without the # comment char | |
| # | |
| # [[ -f ~/.gofck ]] && source ~/.gofck | |
| # | |
| # All insult words generated by GPT3. It has a dirty mouth. | |
| declare -a response=( | |
| "No you," | |
| "Oh yeah? Well your code sucks" | |
| "Cut it out, you" | |
| "Eat me, you" | |
| "Your fault, not mine you" | |
| "Quit bitching and read the manual" | |
| ) | |
| declare -a cussing=( | |
| "Ass" "Bitch" "Butt" "Cock" "Cum" "Cunt" "Dick" "Douche" "Fart" "Fuck" | |
| "Jizz" "Schlong" "Shit" "Slut" "Snatch" "Tit" "Twat" "Wang" "Wank" "Whore" | |
| "Piss" "Prick" "Bastard" "Bellend" "Chode" "Git" "Knob" "Minge" "Twatface" "Scum" | |
| "Slob" "Turd" "Loser" "Goblin" "Freak" "Creep" "Jerk" "Savage" "Beast" "Brute" | |
| "Fiend" "Scoundrel" "Rogue" "Villain" "Monster" "Critter" "Vermin" "Serpent" "Dragon" "Troll" | |
| ) | |
| declare -a fuckAssNoun=( | |
| "Bagel" "Biscuit" "Blister" "Burger" "Bubble" "Bucket" "Camel" "Canoe" "Cocktail" "Cracker" | |
| "Cranker" "Dragon" "Dumpster" "Farmer" "Fister" "Guzzler" "Hatchet" "Monkey" "Muffin" "Muncher" | |
| "Nozzle" "Nugget" "Panda" "Pilot" "Pistol" "Pusher" "Sandwich" "Scratcher" "Scrubber" "Shitter" | |
| "Sucker" "Taco" "Twiddler" "Waffle" "Wanker" "Whistle" "Noodle" "Juggler" "Hopper" "Rascal" | |
| "Chipmunk" "Weasel" "Ferret" "Parrot" "Clown" "Jester" "Muggle" "Wizard" "Ninja" "Pirate" | |
| "Goblin" "Elf" "Wizard" "Knight" "Peasant" "Pirate" "Zombie" "Robot" "Alien" "Ghost" | |
| "Vampire" "Cowboy" "Warrior" "Samurai" "Viking" "Ninja" "Mage" "Witch" "Bard" "Paladin" | |
| ) | |
| function go() { | |
| local randResponse=${response[$RANDOM % ${#response[@]}]} | |
| local randCussing=${cussing[$RANDOM % ${#cussing[@]}]} | |
| local randFuckAssNoun=${fuckAssNoun[$RANDOM % ${#fuckAssNoun[@]}]} | |
| case "$1" in | |
| "fuck") | |
| echo "$randResponse $randCussing $randFuckAssNoun!" | |
| ;; | |
| *) | |
| command go "$@" | |
| ;; | |
| esac | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment