bin/sqlite @ 05ef9c8cbeeb

More
author Steve Losh <steve@stevelosh.com>
date Fri, 03 Nov 2023 10:12:49 -0400
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 "$@"