0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · edit-27 months agoMade me chucklesh.itjust.worksimagemessage-square34fedilinkarrow-up1346arrow-down125
arrow-up1321arrow-down1imageMade me chucklesh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · edit-27 months agomessage-square34fedilink
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up68·7 months ago every command he runs is an alias rookie, most commands grow into functions because they become too complicated to stay as alias
minus-squareTootSweet@lemmy.worldlinkfedilinkEnglisharrow-up15·edit-27 months agoAliases are for the weak. Memorize and type out the whole one-liner, wuss. “I don’t remember how to do that. Let me go check my .bashrc.” Literal clowning, smh.
minus-squareMonkderDritte@feddit.delinkfedilinkarrow-up5·edit-27 months agoMy .bashrc sources a functions and alias file, noob. With a function that parses functions!
minus-squareAce! _SL/S@ani.sociallinkfedilinkarrow-up2·7 months ago “I don’t remember how to do that. Let me go check my .bashrc.” Literally never happens thanks to atuin
minus-square9point6@lemmy.worldlinkfedilinkarrow-up8·7 months agoThen you make aliases of common arguments for those functions, duh
minus-squarelaurelraven@lemmy.blahaj.zonelinkfedilinkarrow-up2·7 months agoIt’s aliases all the way down
minus-squareDarkSirrush@lemmy.calinkfedilinkarrow-up5·7 months agoHell, my docker compose alias is a function now because I can’t be assed to cd to my compose folder before running compose, and wanted to be able to still choose if I -d and/or what containers I wanted to start/stop.
minus-squaredevfuuu@lemmy.worldlinkfedilinkarrow-up2·edit-27 months agoSo this is why alias in fish are literally functions…
rookie, most commands grow into functions because they become too complicated to stay as alias
Aliases are for the weak. Memorize and type out the whole one-liner, wuss.
“I don’t remember how to do that. Let me go check my
.bashrc
.” Literal clowning, smh.My .bashrc sources a functions and alias file, noob. With a function that parses functions!
Literally never happens thanks to atuin
Then you make aliases of common arguments for those functions, duh
It’s aliases all the way down
Hell, my docker compose alias is a function now because I can’t be assed to cd to my compose folder before running compose, and wanted to be able to still choose if I -d and/or what containers I wanted to start/stop.
So this is why alias in fish are literally functions…