Introduction
Introduction Statistics Contact Development Disclaimer Help
Post Au9RnBFdeTkOyMxagy by [email protected]
More posts by [email protected]
Post #Au8G1a2gsmDZJ72mbA by [email protected]
0 likes, 1 repeats
i enjoy this flowchart explaining how bash decides whether to use .bashrc or .b…
Post #Au8G1aztKfZaGik3sG by [email protected]
0 likes, 1 repeats
also even though this diagram is so complicated it doesn’t talk about how the…
Post #Au9RgwFaVml4i8xaNs by [email protected]
0 likes, 0 repeats
@b0rk Yeah, this is correct (at least on the macOS side)
Post #Au9RhiDSB1ZVTQKYim by [email protected]
0 likes, 0 repeats
@b0rk The example I usually use is starting something like ssh-agent. You only …
Post #Au9RiJ70zvPFuAbRK4 by [email protected]
0 likes, 0 repeats
@b0rk nice concept, but useless if (like me) you're colourblind 😂
Post #Au9RiSg5Qto9ZY54jo by [email protected]
0 likes, 0 repeats
@b0rk Ohhh now it makes sense 🤔
Post #Au9RjIvp9dIHdPqNUG by [email protected]
0 likes, 0 repeats
@b0rk This picture makes me feel a lot better about not understanding the diffe…
Post #Au9RjLcRAAZJy9nRBY by [email protected]
0 likes, 0 repeats
@b0rk To be fair, that's a less-than-optimal way to present the info (and I…
Post #Au9RjLiomRfmHwmX8C by [email protected]
0 likes, 0 repeats
@gomijacogeo my sense is that the login shell bits can actually matter if you e…
Post #Au9RjeCu3KQvcSzoWW by [email protected]
0 likes, 0 repeats
@b0rk All of which makes it a heck of a lot of fun if you're in the habit o…
Post #Au9RjnIuENaBpgsEd6 by [email protected]
0 likes, 0 repeats
@b0rk it very much depends on the desktop. usually wayland desktops don't d…
Post #Au9RjnPHqege9TrKZk by [email protected]
0 likes, 0 repeats
@pounce good to know! I find it so hard to keep up with the Wayland changes
Post #Au9RjnVfSvn6TGqQWO by [email protected]
0 likes, 0 repeats
@b0rk it's essentially been an issue since wayland started, since now a com…
Post #Au9RjoQO43A3JBNivg by [email protected]
0 likes, 0 repeats
@b0rk Great!
Post #Au9Rk8NDtWVvBA3Tm4 by [email protected]
0 likes, 0 repeats
@b0rk "design-by-committee results in overcomplicated designs"design …
Post #Au9Rk8VjNtJrbY2H2G by [email protected]
0 likes, 0 repeats
@eloy @b0rk Design by highly opinionated hacker who is _certain_ and will expla…
Post #Au9Rk8eEsG7o1w14IS by [email protected]
0 likes, 1 repeats
@Sdowney @eloy @b0rk this is "design by an independent set of open source …
Post #Au9Rk8mONweARDpa0O by [email protected]
0 likes, 0 repeats
@stevel @Sdowney @b0rk yep
Post #Au9Rk9Bur33ziNlxmy by [email protected]
0 likes, 0 repeats
@stevel @Sdowney @b0rk so the solution is: a committee to decide what stuff to …
Post #Au9RknNJS5wmLJPd6e by [email protected]
0 likes, 0 repeats
@b0rk #FFS! It's really *THAT* complicated? Wow.
Post #Au9RmYECjsQXwczOXg by [email protected]
0 likes, 0 repeats
@b0rk I love the contrast to zsh 😄
Post #Au9Rn1ISf8406EChhg by [email protected]
0 likes, 1 repeats
@b0rk 😳 I feel validated about sourcing my bashrc into my bash_profile now
Post #Au9RnBFdeTkOyMxagy by [email protected]
0 likes, 0 repeats
@b0rk jeees... I thought it was just 3 different fallbacks, that's insane.
Post #Au9RnDTBP5lnqxJR56 by [email protected]
0 likes, 0 repeats
@sdarlington yeah there’s a whole thing about how this relates to being a Lin…
Post #Au9Ro08ITXB6mMuwpU by [email protected]
0 likes, 0 repeats
@b0rk Ugh this is terrible. Why didn't they just set a couple of environmen…
Post #Au9RoCiBhv19n9nmRE by [email protected]
0 likes, 0 repeats
@b0rk what is the meaning of the different arrow colors?
Post #Au9RoCpHHYgm997RUO by [email protected]
0 likes, 0 repeats
@jptagaio my understanding in this section is red: login, interactiveyellow: lo…
Post #Au9RoCvetpnESw6XR2 by [email protected]
0 likes, 0 repeats
@b0rk @jptagaio what does login vs non-login shell mean here? I feel like I mig…
Post #Au9RoD1gXQc6lcvLpQ by [email protected]
0 likes, 0 repeats
@iris @jptagaio so my understanding of it is that in some situations (like the …
Post #Au9RpB2TPctYtRkpO4 by [email protected]
0 likes, 0 repeats
@eloy @b0rk as a "design by history" entrant: less bad than many tbh
Post #Au9RpKg9ZSz0n7O8zA by [email protected]
0 likes, 0 repeats
@b0rk @jptagaio I find this chart difficult to follow. The “states” are som…
Post #Au9RpxlqEFhq23LjlY by [email protected]
0 likes, 0 repeats
@b0rk "login" vs "non-login" took me so long to understand …
Post #Au9RpzOsAcWP5OcQF6 by [email protected]
0 likes, 0 repeats
@b0rkMac switched its default to zsh a long time agoI don't think its windo…
Post #Au9RqECJ9cNqylr6Ey by [email protected]
0 likes, 0 repeats
@sdarlington @b0rk The example I always use is cron jobs, which may not be a to…
Post #Au9RqT3zsneH5L5Arw by [email protected]
0 likes, 0 repeats
@b0rk I used to think the same: that the login shell is the outermost one, so y…
Post #Au9RqTA1WOT9O1tzGK by [email protected]
0 likes, 0 repeats
@simontatham no this is exactly the kind of thing I hoping to hear I love iti f…
Post #Au9Rs207TJBNjP0wnA by [email protected]
0 likes, 0 repeats
@b0rk You seem to have forgotten the influence of the current phase of the moon…
Post #Au9RsIU8BUhCr7B8nA by [email protected]
0 likes, 0 repeats
@b0rk Question: Since systemd allows you to specify environment variables withi…
Post #Au9Rt0wKtzOwjKiHrc by [email protected]
0 likes, 0 repeats
@b0rk this makes my brain hurt. I just want coloured terminal output :(
Post #Au9Rv8i2zCP5PF2juy by [email protected]
0 likes, 0 repeats
@b0rk macOS is very stupid about which shell start script path it applies certa…
Post #Au9Rv8oQbTVXj21prc by [email protected]
0 likes, 0 repeats
@jlargentaye I’m not against rants necessarily but I have literally no idea w…
Post #Au9RvHlZJTZHUllB9k by [email protected]
0 likes, 0 repeats
@b0rk @jptagaio ooohh that makes complete sense, thank you
Post #Au9RvPUqZWwhTDzwCe by [email protected]
0 likes, 0 repeats
@WiteWulf @b0rk I'm not sure it makes much more sense with regular color vi…
Post #Au9RwrJybdj83ZbWkq by [email protected]
0 likes, 0 repeats
@b0rk Good point. I was going to mention the first one, but felt I was getting …
Post #Au9RxSuQr3sAdLwfDM by [email protected]
0 likes, 0 repeats
@b0rk BASH LOGOUT EXISTS?!
Post #Au9RxT2EO46x1XatN2 by [email protected]
0 likes, 0 repeats
@k @b0rk That's where you put `rm -rf /`
Post #Au9Ryy3WXPP7WTujnU by [email protected]
0 likes, 0 repeats
@b0rk the login process overall was never standardized and it’s a Wild West o…
Post #Au9RzZaR00iLvGb2jQ by [email protected]
0 likes, 0 repeats
@b0rk that explains a lot :-) But it won't help me, I'm afraid
Post #Au9RznVHFyuL5KI7dY by [email protected]
0 likes, 0 repeats
@eloy @Sdowney @b0rk and so create a fork in the codebase...
Post #Au9Rzqtqd5LPcOoHqq by [email protected]
0 likes, 0 repeats
@b0rk I wonder—which of these occur because of built-in behaviour of bash/sh/…
Post #Au9S0H9h0nT334QJ9s by [email protected]
0 likes, 0 repeats
@b0rk I’m going to keep this for the next time someone on slack tries to tell…
Post #Au9S0IqGjz7QHPLpA0 by [email protected]
0 likes, 0 repeats
@stevel @Sdowney @b0rk for specific people who depend on legacy features, yes. …
Post #Au9S0QfvcJbIZeZg9Y by [email protected]
0 likes, 0 repeats
@b0rk Good thing I use zsh.
Post #Au9S0iWJGobNv2DFey by [email protected]
0 likes, 0 repeats
@b0rk bash makes csh sound like a good idea, and yes I know what I just said.
Post #Au9S0qBKmgZpgISc4m by [email protected]
0 likes, 0 repeats
@b0rk 🤯
Post #Au9S1IT1cVMhPGx8XQ by [email protected]
0 likes, 0 repeats
@b0rk omg
Post #Au9S3Che1RAm6mhThw by [email protected]
0 likes, 0 repeats
@b0rk "2 config files"Well, there's your problem right there. :sa…
Post #Au9SWs3XLqO0lE5QeG by [email protected]
0 likes, 0 repeats
@b0rk totally! My typical .bash_profile just says 'source ~/.bashrc' an…
Post #Au9SWs9uy7UT514Wau by [email protected]
0 likes, 0 repeats
@b0rk … I suppose if you did want to do some environment-variable setup as fe…
Post #Au9SWsFad21lMbj3R2 by [email protected]
0 likes, 0 repeats
@simontatham it feels like the interface I actually _want_ for that is some PAT…
Post #Au9SX3ZUXNU0TW7bU0 by [email protected]
0 likes, 0 repeats
@b0rk I agree with that too – I *do* have an 'addpath' shell function…
Post #Au9SX89nUKtuhH8ecy by [email protected]
0 likes, 0 repeats
@b0rkIf you use zsh, you can do typeset -U PATH and it'll toss any duplicat…
Post #Au9SXDVbagJfIMNdoW by [email protected]
0 likes, 0 repeats
@b0rk Also, variables set in the login shell are inherited by the whole session…
Post #Au9SXDcLBdhhdFX1JQ by [email protected]
0 likes, 0 repeats
@whynothugo that's what I thought too but someone told me that Wayland does…
Post #Au9SXd7kM0gEjtPxEe by [email protected]
0 likes, 0 repeats
@b0rk How can it be no-login and interactive?
Post #Au9SXdFBuKdR6yttq4 by [email protected]
0 likes, 0 repeats
@leean00 @b0rk Recursion-- that's where you get when you invoke an inner sh…
Post #Au9SXdLDXvSJPfiiES by [email protected]
0 likes, 0 repeats
@Nentuaby @b0rk I never thought of it as recursion, but yeah that sounds accur…
Post #Au9SXdQtCpzbhGNF4a by [email protected]
0 likes, 0 repeats
@leean00 if you start tmux with a shell running in it, that shell is interactiv…
Post #Au9SXxGHTzOHC9Z3JY by [email protected]
0 likes, 0 repeats
@Nentuaby @leean00 also I believe it’s common for terminal emulators on Linux…
Post #Au9YWN1pJJp8FtQnGS by [email protected]
0 likes, 0 repeats
@b0rk My brain glazed over
Post #Au9YY5z1egA1yBwZFo by [email protected]
0 likes, 0 repeats
@b0rk already the zsh is convoluted, but makes sense.The bashrc is pure batshit…
Post #Au9YbvKrBZRe6Wyqga by [email protected]
0 likes, 0 repeats
@b0rk Some of this is Debian-isms (and thus Ubuntu-isms).Bash dropped the &quot…
Post #Au9Yerys79auZL6NKC by [email protected]
0 likes, 0 repeats
@b0rk yeah, on GUIs (OS X and X11) there is this extra layer of "when i op…
Post #Au9YkKBefieZUrgMAy by [email protected]
0 likes, 0 repeats
@b0rk Thank you for deciphering this dark dot magic. Love the color coded edges.
Post #Au9YkjW4Uwq63QQVyC by [email protected]
0 likes, 0 repeats
@b0rk I’m dying wow that’s so complicated
Post #Au9aZh0LhD7OzHS4vI by [email protected]
0 likes, 1 repeats
@b0rk See? Nice and simple.
Post #Au9k2TTdy8uX1AxAOW by [email protected]
0 likes, 0 repeats
@zspotter @b0rk just to be sure, you should do it both ways!
Post #AuU82iExMcW6rlvcp6 by [email protected]
0 likes, 0 repeats
@b0rk do computer science courses no longer include the concept of flow charts …
You are viewing proxied material from pleroma.anduin.net. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.