bin/sqlite @ b09db0d33e13

More
author Steve Losh <steve@stevelosh.com>
date Tue, 14 Nov 2023 09:58:32 -0500
parents a6e1eedddb20
children (none)
#!/usr/bin/env bash

rlwrap -m'$$$$' \
       -a____ \
       --multi-line-ext .sql \
       --only-cook '^(sqlite| *\.\.\.)> ' \
       -p'1;32' \
       --histsize 1000 \
       --history-filename "$HOME/.rlwrap/sqlite_history" \
       sqlite3 "$@"