Skip to content

Commit

Permalink
add systemd editor env var
Browse files Browse the repository at this point in the history
  • Loading branch information
brettinternet committed Jun 24, 2024
1 parent 76aa8f3 commit 602373a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/.profile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ scope() {
# https://wiki.archlinux.org/index.php/Sudo#Using_visudo
export VISUAL=vim
export EDITOR="$VISUAL"
export SYSTEMD_EDITOR="$EDITOR"

# https://wiki.archlinux.org/index.php/Environment_variables#Default_programs
if [ ! -n "$DISPLAY" ]; then
Expand Down

0 comments on commit 602373a

Please sign in to comment.