From 4febefc9222ca56bf6df17493d6f1817fdd03b8e Mon Sep 17 00:00:00 2001 From: "flyingscorpio@pinebookpro" Date: Tue, 26 Oct 2021 12:38:54 +0200 Subject: [PATCH] Add SUDO_EDITOR --- dotfiles/shell/profile | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/shell/profile b/dotfiles/shell/profile index b272cb7..f15f391 100644 --- a/dotfiles/shell/profile +++ b/dotfiles/shell/profile @@ -1,6 +1,7 @@ # items common to ~/.bash_profile and ~/.zprofile [[ -x /usr/bin/vim ]] && export EDITOR="/usr/bin/vim" +export SUDO_EDITOR="$EDITOR" export TERMINAL="kitty" export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"