summaryrefslogtreecommitdiff
path: root/home/xyz/.profile
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:55 -0700
commit00115da8b3e81f75610f643736dc4b8c223049b0 (patch)
tree00d5b1c42af7f8e1c05f6eb838cb21acf8d1318c /home/xyz/.profile
parentb0b4e9ea0cf3c68b1113dea2c6fc39052a2c4611 (diff)
add VISUAL env, for sqlite3
Diffstat (limited to 'home/xyz/.profile')
-rw-r--r--home/xyz/.profile3
1 files changed, 3 insertions, 0 deletions
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