How to make my configuration dotfiles also be loaded for sudo use?
1
vote
2
answers
84
views
Lets say I do some configuration in my $XDG_CONFIG_HOME (which is /home/user/.config).
If I run
Is there a easier way?
micro
text editor and it has custom keybindings and custom theme, doing sudo micro
will load the default configuration with default keybindings. How to deal with stuff like this, for every tool I use? I don't want to edit global config in /etc, nor duplicate it in .root Is there a easier way?
Asked by George Răbuș
(11 rep)
Jan 8, 2025, 07:45 PM
Last activity: Jan 13, 2025, 09:31 PM
Last activity: Jan 13, 2025, 09:31 PM