cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoLinux Userslemmy.mlimagemessage-square141fedilinkarrow-up11.01Karrow-down117
arrow-up1995arrow-down1imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square141fedilink
minus-squarejanAkali@lemmy.sdf.orglinkfedilinkarrow-up2·edit-221 hours agoI 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.
minus-squarepsud@aussie.zonelinkfedilinkEnglisharrow-up1·40 minutes agoIt’s better to learn the new command, then it still works when you use a different machine that doesn’t have your alias
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.It’s better to learn the new command, then it still works when you use a different machine that doesn’t have your alias