feat: add SUDO_EDITOR
running `sudo $EDITOR` can be risky -> use `sudoedit` instead -> need `SUDO_EDITOR` env variable
This commit is contained in:
parent
b86113d72e
commit
08320670ea
1
.profile
1
.profile
@ -16,6 +16,7 @@ export LESSHISTFILE="-"
|
|||||||
|
|
||||||
## default programs
|
## default programs
|
||||||
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
|
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
|
||||||
|
export SUDO_EDITOR="nvim"
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
export TERMINAL="st"
|
export TERMINAL="st"
|
||||||
export READER="zathura"
|
export READER="zathura"
|
||||||
|
Reference in New Issue
Block a user