this post was submitted on 24 Sep 2025
1270 points (98.2% liked)

Programmer Humor

26570 readers
1763 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] iamdefinitelyoverthirteen@lemmy.world 44 points 2 days ago (2 children)

...until you press up one too many times and enter the same command but with a typo. Again.

[–] AmidFuror@fedia.io 10 points 2 days ago

Been there, done that.

[–] laserjet@lemmy.dbzer0.com 5 points 2 days ago (1 children)

There is an option you can set in .zshrc or .bashrc which only includes lines that exit 0 (success)

[–] antimidas@sopuli.xyz 5 points 2 days ago (1 children)

Infuriatingly that would omit things like unit test runners from the history in case they don't pass. As a developer I tend to re-run failed commands quite often, not sure how widely that applies, though.

[–] ulterno@programming.dev 1 points 2 days ago

Oh, stuff like git diff and git log will end up being omitted pretty often.
And a lot of times, the commands that end with piping into less