From 3a90c935751a940d86c5756e6911c20bdc78e975 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 18 Oct 2023 21:05:15 -0700 Subject: add VISUAL env, for sqlite3 --- home/xyz/.profile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'home') diff --git a/home/xyz/.profile b/home/xyz/.profile index f34f962b..c44954dd 100644 --- a/home/xyz/.profile +++ b/home/xyz/.profile @@ -21,6 +21,9 @@ export HISTSIZE=15000 export HISTFILESIZE=15000 export HISTCONTROL=ignorespace +# sqlite uses VISUAL for the edit() SQL function default text editor +# https://sqlite.org/cli.html +export VISUAL=nvim export EDITOR=nvim export BROWSER=firefox export PAGER=less -- cgit v1.2.3-70-g09d2