finds.dev← search

// the find

mathiasbynens/evil.sh

★ 2,205 · Shell · updated Apr 2023

:speak_no_evil: Subtle and not-so-subtle shell tweaks that will slowly drive people insane.

A shell script of prank aliases and function overrides meant to be silently sourced into a victim's .bash_profile to make their terminal subtly malfunction. It's a joke repo for messing with a coworker's shell, not a tool you'd use for anything productive.

The tweaks are genuinely clever from a shell-scripting standpoint — things like redefining builtins, disabling alias/unalias so the victim can't easily undo it, and randomizing command behavior show real command of bash internals. It's a fun read if you want to learn obscure bash tricks (function shadowing, PROMPT_COMMAND abuse, etc). The contribution rule (nothing destructive on source, only annoying) keeps the collection focused and mostly harmless.

It's unmaintained — last push 2023, single file, no tests, no CI, no way to selectively enable/disable individual pranks without editing the script by hand. There's no safety net: if you drop this in someone's dotfiles you're relying on trust and a README disclaimer, not any actual safeguard against something later becoming destructive as PRs get merged. Zero documentation on what each tweak actually does, so you're reading raw shell to figure out what you're inflicting on someone. Not something you'd depend on for anything beyond a one-off prank.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →