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
|
# editor
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export SUDO_EDITOR=nvim
|
export SUDO_EDITOR="$(which $EDITOR)"
|
||||||
export PAGER=less
|
export PAGER=less
|
||||||
|
|
||||||
# sway
|
# sway
|
||||||
|
|||||||
Reference in New Issue
Block a user