1295
Linux Users (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments

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

[-] AmidFuror@fedia.io 10 points 2 months ago

Been there, done that.

[-] laserjet@lemmy.dbzer0.com 5 points 2 months ago

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

[-] antimidas@sopuli.xyz 4 points 2 months ago

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.

this post was submitted on 24 Sep 2025
1295 points (100.0% liked)

Programmer Humor

27811 readers
1462 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