Created
July 17, 2026 08:38
-
-
Save jasonm23/46c4b62aaf439dae8111d4848bfd6388 to your computer and use it in GitHub Desktop.
Detects that you aren't using fd and calls you something insulting but not offensive... add this to your internal tools, or not idgaf
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
| #!/bin/bash | |
| technically_not_a_slur() { | |
| local insults=( | |
| "absolute MELONHEAD" | |
| "a SENTIENT CABBAGE" | |
| "MOONFACE with empty space between ears" | |
| "TURNIP with a pulse" | |
| "PUMPKIN-headed waste of seeds" | |
| "SAUSAGE BRAINED WATERHEAD" | |
| "ROCKMELLON with less brain than one of it's seeds" | |
| "PLUM with a face" | |
| "PUDDING BRAIN with no spoon" | |
| "GOURD with half the seeds" | |
| "ZUCCHINI with eyes and less charm" | |
| "POTATO with thumbs" | |
| "BEET-HEAD with nothing inside" | |
| "RHUBARB with shoes" | |
| "CUCUMBER with less brain power" | |
| "GINGER ROOT with no spice" | |
| "PARSNIP with ambition" | |
| "RUTABAGA with delusions" | |
| "BREEZE BLOCK with feelings" | |
| "WALNUT with no meat inside" | |
| ) | |
| echo "${insults[RANDOM % ${#insults[@]}]}" | |
| } | |
| command -v fd &>/dev/null || command -v fdfind &>/dev/null || { | |
| echo "$(technically_not_a_slur) detected — install fd" | |
| exit 1 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment