cm0002@lemmy.world to Programmer Humor@programming.dev · 4 days agoLinux Userslemmy.mlimagemessage-square148linkfedilinkarrow-up11.3Karrow-down124cross-posted to: programmerhumor@lemmy.ml
arrow-up11.28Karrow-down1imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 4 days agomessage-square148linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarejanAkali@lemmy.sdf.orglinkfedilinkarrow-up3·edit-22 days 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·1 day agoIt’s better to learn the new command, then it still works when you use a different machine that doesn’t have your alias
minus-squarecrater2150@feddit.orglinkfedilinkarrow-up2·2 days agoAlso, even zsh scripts don’t read your .zshrc by default.
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
Also, even zsh scripts don’t read your .zshrc by default.