use explicit path for SUDO_EDITOR in case EDITOR not on secure_path
This commit is contained in:
1 parent
bead27b2d8
commit
c8c0f56c95
1 file changed
+1
-1
@@ -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