From 00115da8b3e81f75610f643736dc4b8c223049b0 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/xyz/.profile') diff --git a/home/xyz/.profile b/home/xyz/.profile index a4603d37..9919a7a2 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