Once upon a time when I started sqlite from the command line I could using the tabbing autocomplete to enter the database name. This has not worked for a while now. Any suggestions on how to do this? (Possibly specifically for files with a .db suffix.)
complete -G "*.db" sqlite would associate .db files with sqlite.
For permanent associations, you need to add the command to one of the bash startup scripts, such as ~/.bashrc.