summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-10-18 21:05:15 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-10-18 21:05:15 -0700
commit3a90c935751a940d86c5756e6911c20bdc78e975 (patch)
tree997a5c1e32b8054343a33f1b66d42a350a0920cd /home
parentb5132ebbdb4602d1e5c88fdf3e200d5057bed2a3 (diff)
add VISUAL env, for sqlite3
Diffstat (limited to 'home')
-rw-r--r--home/xyz/.profile3
1 files changed, 3 insertions, 0 deletions
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