summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-08-19 06:43:08 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-08-19 06:43:08 -0600
commit49ea9623a67fa5030f5e7d70dae6e79734cc5649 (patch)
tree4c2947090f1a93fd7d84161d462faec9bb37acac /.config/shell/profile
parentf21b65d2c5e0e1c5a2e4aa22500c39ff74023286 (diff)
update editor variable
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"