0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · edit-22 months agoMade me chucklesh.itjust.worksimagemessage-square32fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageMade me chucklesh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · edit-22 months agomessage-square32fedilink
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up0·2 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-squareDarkSirrush@lemmy.calinkfedilinkarrow-up0·2 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-squareTootSweet@lemmy.worldlinkfedilinkEnglisharrow-up0·edit-22 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-squareAce! _SL/S@ani.sociallinkfedilinkarrow-up0·2 months ago “I don’t remember how to do that. Let me go check my .bashrc.” Literally never happens thanks to atuin
minus-squareMonkderDritte@feddit.delinkfedilinkarrow-up0·edit-22 months agoMy .bashrc sources a functions and alias file, noob. With a function that parses functions!
minus-square9point6@lemmy.worldlinkfedilinkarrow-up0·2 months agoThen you make aliases of common arguments for those functions, duh
minus-squarelaurelraven@lemmy.blahaj.zonelinkfedilinkarrow-up0·2 months agoIt’s aliases all the way down
minus-squaredevfuuu@lemmy.worldlinkfedilinkarrow-up0·edit-22 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
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.
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.Literally never happens thanks to atuin
My .bashrc sources a functions and alias file, noob. With a function that parses functions!
Then you make aliases of common arguments for those functions, duh
It’s aliases all the way down
So this is why alias in fish are literally functions…