From 5054420e2a1340309368138ab593d71023be66a3 Mon Sep 17 00:00:00 2001 From: Lucas Date: Sat, 31 Jul 2021 15:36:18 +0000 Subject: [PATCH] shrc: don't set VISUAL Makes using vi as EDITOR a pain in some cases, and overriding VISUAL with vi also makes (at least) ksh to set the editing mode to vi. --- dotfiles/shrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dotfiles/shrc b/dotfiles/shrc index 9e7bd8c..a8d0178 100644 --- a/dotfiles/shrc +++ b/dotfiles/shrc @@ -13,8 +13,7 @@ EDITOR=ed PAGER=less -VISUAL=ed -export EDITOR PAGER VISUAL +export EDITOR PAGER GPG_TTY=$(tty) export GPG_TTY