From 889c985b4fba9faa2f53cab03059f8ba03d129e4 Mon Sep 17 00:00:00 2001 From: jon Date: Sun, 11 Jul 2021 15:04:58 -0500 Subject: [PATCH] systemd has its own editor env variable (groan) --- bash/.bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bash/.bashrc b/bash/.bashrc index 671fc72..aa501cc 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -61,6 +61,10 @@ else export EDITOR=/usr/bin/vim 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 detailed mode by default, a for auto FIFO export NNN_OPTS='da'