fix bash autocompletion for custom db location

Ideally autocompletion should be reworked