this post was submitted on 26 Apr 2024
327 points (93.4% liked)

linuxmemes

20751 readers
441 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
327
Made me chuckle (sh.itjust.works)
submitted 4 months ago* (last edited 4 months ago) by 0x4E4F@sh.itjust.works to c/linuxmemes@lemmy.world
 
you are viewing a single comment's thread
view the rest of the comments
[–] eager_eagle@lemmy.world 69 points 4 months ago (4 children)

every command he runs is an alias

rookie, most commands grow into functions because they become too complicated to stay as alias

[–] TootSweet@lemmy.world 15 points 4 months ago* (last edited 4 months ago) (2 children)

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.

[–] MonkderDritte@feddit.de 5 points 4 months ago* (last edited 4 months ago)

My .bashrc sources a functions and alias file, noob. With a function that parses functions!

[–] AceSLS@ani.social 2 points 4 months ago

"I don't remember how to do that. Let me go check my .bashrc."

Literally never happens thanks to atuin

[–] 9point6@lemmy.world 8 points 4 months ago (1 children)

Then you make aliases of common arguments for those functions, duh

[–] laurelraven@lemmy.blahaj.zone 2 points 4 months ago

It's aliases all the way down

[–] DarkSirrush@lemmy.ca 5 points 4 months ago

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.

[–] devfuuu@lemmy.world 2 points 4 months ago* (last edited 4 months ago)

So this is why alias in fish are literally functions...