use explicit path for SUDO_EDITOR in case EDITOR not on secure_path
This commit is contained in:
@@ -19,7 +19,7 @@ export SVDIR="$XDG_STATE_HOME"/service
|
||||
|
||||
# editor
|
||||
export EDITOR=nvim
|
||||
export SUDO_EDITOR=nvim
|
||||
export SUDO_EDITOR="$(which $EDITOR)"
|
||||
export PAGER=less
|
||||
|
||||
# sway
|
||||
|
||||
Reference in New Issue
Block a user