• trevor (he/they)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 days ago

    That’s not what I mean. Yeah, getting the environment variables are simple enough, but if you simply exec something as the root user, whatever you exec will naturally be looking for configs in /root/.config and not your ~/.config dir, so any configurations to things like your text editor won’t be read.