aboutsummaryrefslogtreecommitdiff
path: root/systemd/profile.d/systemd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/profile.d/systemd.sh')
-rw-r--r--systemd/profile.d/systemd.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/systemd/profile.d/systemd.sh b/systemd/profile.d/systemd.sh
new file mode 100644
index 00000000..b5f05c24
--- /dev/null
+++ b/systemd/profile.d/systemd.sh
@@ -0,0 +1,3 @@
+# Use $VISUAL for editing systemd unit files, not $EDITOR
+SYSTEMD_EDITOR=$VISUAL
+export SYSTEMD_EDITOR