• sunshine@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    6 months ago

    I’ve gone back and forth between a common bashrc file in my Dropbox folder that is symlinked to ~/.bashrc on my devices, and one that is imported from a regular bashrc instead, and recently it ended up in a state where it accidentally tried to do both, resulting in an endless loop. I discovered this on my Pop!_OS PC, which reacted to this situation by crashing on login lol. What??

    • aidan@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      To avoid having it hosted separately its injected into a shell script as a string

      • NeatNit@discuss.tchncs.de
        link
        fedilink
        arrow-up
        0
        ·
        7 months ago

        I don’t know the system in question, but it’s definitely a bad design when comments need to be written with care. Either you set this up in a really wonky way, or the system you’re using did and it should be fixed ASAP.

        What code is in charge of injecting things into a shell script?