From 55e5c5579b6463ca0a399d833d1d199c3ce97bb8 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 0418e6f2..49c4c51e 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 PAGER=less # -X seems can keep the output if exit less? -- cgit v1.2.3-70-g09d2