Which one??? - eviltoast

Fuck it, .zshrc it is.

Image transcription:

  • Top text: I STILL DON’T KNOW WHAT SHOULD GO IN .*RC VERSUS .*PROFILE
  • Bottom text: AND AT THIS POINT I’M AFRAID TO ASK
  • Crow@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    14
    ·
    4 months ago

    Afaik the difference is whether a session is interactive or not, and non-interactive ones don’t source the rc

      • Crow@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        Presumably just to get rid of unnecessary stuff that would slow down the start of all bash instances. Also aliases that could fuck with scripts

        • JackbyDev@programming.devOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          This really triggered an itch in me and I’m having trouble finding answers. It sounds like .profile might get sourced by your desktop environment when you log in but I’m having trouble finding out one way or the other. Every search I make just ends up with people asking about shells.