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

linuxmemes

22904 readers
734 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
    327
    Made me chuckle (sh.itjust.works)
    submitted 10 months ago* (last edited 10 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 10 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 10 months ago* (last edited 10 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 10 months ago* (last edited 10 months ago)

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

    [–] AceSLS@ani.social 2 points 10 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 10 months ago (1 children)

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

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

    It's aliases all the way down

    [–] DarkSirrush@lemmy.ca 5 points 10 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 10 months ago* (last edited 10 months ago)

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

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

    wait why are you leaving?!

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

    [–] deaf_fish@lemm.ee 26 points 10 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.

    [–] boredsquirrel@slrpnk.net 25 points 10 months ago* (last edited 10 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 10 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 10 months ago (2 children)

    Me neither, I sometimes have to sign on a device

    [–] user224@lemmy.sdf.org 4 points 10 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 10 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 10 months ago (1 children)

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

    [–] Diplomjodler3@lemmy.world 4 points 10 months ago* (last edited 10 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.

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

    God I love cash on delivery

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

    Interesting, never had this

    [–] crater2150@feddit.de 3 points 10 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.

    [–] sleepmode@lemmy.world 22 points 10 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 10 months ago

    REEEEEEEEEEEEEE

    [–] Lightfire228@pawb.social 16 points 10 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 10 months ago* (last edited 10 months ago) (1 children)

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

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

    I personally do most of my heavy scripting in python

    [–] baseless_discourse@mander.xyz 2 points 10 months ago* (last edited 10 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 10 months ago* (last edited 10 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

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

    What was her roleplay fantasy? Asking for a friend.

    [–] Lightfire228@pawb.social 3 points 10 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 10 months ago

    Lol, good one πŸ˜‚πŸ˜‚πŸ˜‚.

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

    That shell reminds me a lot of PowerShell

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

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

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

    Psychopath!

    /jk

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

    Burn the witch!