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

linuxmemes

20742 readers
1650 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
 
all 35 comments
sorted by: hot top controversial new old
[–] 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...

[–] tdawg@lemmy.world 28 points 4 months ago

wait why are you leaving?!

We haven't even gone over the varient rules yet!

[–] boredsquirrel@slrpnk.net 25 points 4 months ago* (last edited 4 months ago) (1 children)

postman hands him card reader, he instantly asks where the settings are

This is awesome XD

"Bro this screen is too bright, is there a dark mode?"

every command he runs is an alias

Okay thats me. I love my aliases, I store them in separate files in ~/.config/fish/conf.d

[–] eager_eagle@lemmy.world 15 points 4 months ago (1 children)

postman hands him card reader

I'm not getting it. I guess I don't interact with postmen enough, because I have no idea how a card reader is related to mail delivery.

[–] boredsquirrel@slrpnk.net 7 points 4 months ago (2 children)

Me neither, I sometimes have to sign on a device

[–] user224@lemmy.sdf.org 4 points 4 months ago

Perhaps it's about payment-on-delivery.

Pretty usual in Slovakia, though you'll be generally charged some extra for not paying in advance. Usually something like €1.

[–] Successful_Try543@feddit.de 1 points 4 months ago (1 children)

Idk, but it could be because the payment of the delivery is done 'via surname' to the postman when the package is handed over. So the bank can't track on what you spend your money on (in case you are afraid they do). This option exists at least in Germany. However, it costs an high extra fee.

[–] boredsquirrel@slrpnk.net 1 points 4 months ago (1 children)

I dont think we do that in germany, shipping is always paid in advance

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

It's called "per Nachnahme", C.O.D. in English. You'd pay the postman for your parcel and the post office would pay the sender. It used to be quite popular in pre internet days. You whippersnappers wouldn't remember. Not used a lot any more these days.

[–] boredsquirrel@slrpnk.net 1 points 4 months ago (1 children)

Interesting, never had this

[–] crater2150@feddit.de 3 points 4 months ago

In my experience, if a seller in Germany offers that option, it's 5 - 6€ extra, I don't know anyone that ever used that service. Probably was more common before online payment was easy.

[–] gimpchrist@lemmy.world 1 points 4 months ago

God I love cash on delivery

[–] deaf_fish@lemm.ee 25 points 4 months ago

These people are a critical part of the computer ecosystem. Without them, no one would use any settings other than the default. We may not have yet discovered the dark theme.

Good meme.

[–] sleepmode@lemmy.world 22 points 4 months ago (1 children)

Now do the “purist” that spends their entire life trying to strip everything possible off to “save memory” when they should probably just use Alpine or NetBSD.

[–] gimpchrist@lemmy.world 7 points 4 months ago

REEEEEEEEEEEEEE

[–] Lightfire228@pawb.social 16 points 4 months ago (3 children)

This one hits scarily close to home

I even use a non-POSIX shell (https://www.nushell.sh/), with my config synced with Syncthing

[–] baseless_discourse@mander.xyz 4 points 4 months ago* (last edited 4 months ago) (1 children)

At some point we all need to move away from insecure bash scripts.

[–] Lightfire228@pawb.social 2 points 4 months ago (1 children)

I personally do most of my heavy scripting in python

[–] baseless_discourse@mander.xyz 2 points 4 months ago* (last edited 4 months ago) (1 children)

Python is great for scripting, but the advantages of nu and powershell are the ease of interacting with system utilities and the availability of common commands like ls etc.

of course, you can always do subprocess.run or os.listdir(), but that is not as simple as scripting in nu or powershell.

[–] Lightfire228@pawb.social 2 points 4 months ago* (last edited 4 months ago)

This is true

Although, i find this isn't as much an issue if you use python's STL as much as you can

Pathlib and shutil are really handy for file manips

But, yea interfacing with external CLI utilities like git is a PITA


Oh there's also xonsh which is just a shell built put of python

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

That shell reminds me a lot of PowerShell

[–] 0x4E4F@sh.itjust.works 2 points 4 months ago (1 children)

What was her roleplay fantasy? Asking for a friend.

[–] Lightfire228@pawb.social 3 points 4 months ago (1 children)

I dunno really, something about tech support and no money

I was having a hard time with the fursuit, and she just said "forget it" after the third time i mentioned GNU/Linux

/s

[–] 0x4E4F@sh.itjust.works 1 points 4 months ago

Lol, good one 😂😂😂.

[–] Diplomjodler3@lemmy.world 13 points 4 months ago (2 children)

I changed the font size in Mint once. Does that count?

[–] baseless_discourse@mander.xyz 2 points 4 months ago

Psychopath!

/jk

[–] 0x4E4F@sh.itjust.works 1 points 4 months ago

Burn the witch!