this post was submitted on 24 Sep 2025
1271 points (98.3% liked)

Programmer Humor

26570 readers
1711 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
[–] janAkali@lemmy.sdf.org 3 points 1 day ago* (last edited 1 day ago) (2 children)

I think it's ok to add this in a personal .zshrc, not on a distro level:

If it breaks something - I'd probably know why and can easily fix it by removing alias/calling cat directly.

Also, scripts almost always use bash or sh in shebang, not zsh. So it only triggers if I type cat in terminal.

[–] psud@aussie.zone 1 points 8 hours ago

It's better to learn the new command, then it still works when you use a different machine that doesn't have your alias

[–] crater2150@feddit.org 2 points 22 hours ago

Also, even zsh scripts don't read your .zshrc by default.