Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.)

share|improve this question
1  
Are you using Bash (or zsh)? Do you have bash-completion installed and activated? –  Dennis Williamson Jun 3 '10 at 19:51
    
bash. bash-completion is enabled - just not working for sqlite. –  Donnied Jun 3 '10 at 21:54

1 Answer 1

From: http://www.linux.com/archive/feed/54005

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.