From 49ea9623a67fa5030f5e7d70dae6e79734cc5649 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 19 Aug 2023 06:43:08 -0600 Subject: update editor variable --- .config/shell/profile | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/shell/profile') diff --git a/.config/shell/profile b/.config/shell/profile index 071a8ba..1d4ed06 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -8,6 +8,8 @@ if command -v nvim &> /dev/null; then elif command -v vim &> /dev/null; then export EDITOR="vim" fi +export SUDO_EDITOR="$EDITOR" +export VISUAL="$EDITOR" # $HOME cleanup # https://wiki.archlinux.org/index.php/XDG_Base_Directory export XDG_CONFIG_HOME="$HOME/.config" -- cgit v1.2.3-70-g09d2