summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
Diffstat (limited to '.config/shell/profile')
-rw-r--r--.config/shell/profile2
1 files changed, 2 insertions, 0 deletions
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"