systemd has its own editor env variable (groan)

This commit is contained in:
jon
2021-07-11 15:04:58 -05:00
parent ea8b76df87
commit 889c985b4f

View File

@@ -61,6 +61,10 @@ else
export EDITOR=/usr/bin/vim export EDITOR=/usr/bin/vim
fi fi
# so stupid, systemd ignores EDITOR and requires its own env variable
# just set it to whatever editor is
export SYSTEMD_EDITOR=$EDITOR
### set nnn options ### set nnn options
# set detailed mode by default, a for auto FIFO # set detailed mode by default, a for auto FIFO
export NNN_OPTS='da' export NNN_OPTS='da'