you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 year ago (1 child)

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.

  • source
  • parent
  • hideshow 1 child comment