XDG stuff for sqlite3

This commit is contained in:
Joseph Ferano 2023-03-09 20:45:34 +07:00
parent bb78ece58b
commit 4a997ee644
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,3 @@
function sql
SQLITE_HISTORY="$XDG_CACHE_HOME"/sqlite_history sqlite3 -init "$XDG_CONFIG_HOME"/sqlite3/sqliterc
end

2
.config/sqlite3/sqliterc Normal file
View File

@ -0,0 +1,2 @@
.headers on
.mode column