feat: add `SUDO_EDITOR`

running `sudo $EDITOR` can be risky
    -> use `sudoedit` instead
    -> need `SUDO_EDITOR` env variable
This commit is contained in:
swytch 2020-05-23 15:49:12 +02:00
parent b86113d72e
commit 08320670ea
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ export LESSHISTFILE="-"
## default programs
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
export SUDO_EDITOR="nvim"
export EDITOR="nvim"
export TERMINAL="st"
export READER="zathura"