aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/systemd.sh
blob: 3c8bf04cfa0c2efbf31cf9ffdba4d6863097d002 (plain) (blame)
1
2
3
4
# If systemctl is installed, use $VISUAL as its editor, not $EDITOR
command -v systemctl >/dev/null 2>&1 || exit
SYSTEMD_EDITOR=$VISUAL
export SYSTEMD_EDITOR