this post was submitted on 26 Apr 2024
327 points (93.4% liked)
linuxmemes
20776 readers
580 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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...