[Bug 526264] Re: sqlite3 completion restricted to .sqlite files
Stefan Sundin
526264 at bugs.launchpad.net
Thu Jul 18 10:58:12 UTC 2013
The additions do not include the .db extension (as the person who
replied to the upstream bug report mistakenly thought); only .sqlite,
.sqlite3, .s3, .s3db. I can't think of anyone who uses the two latter
ones.
Can someone try to submit a new upstream report with .db and .db3 as
additions. I wouldn't mind if they removed the .s3 and .s3db extensions,
as I doubt they are used.
For a quick workaround, add "complete -f -X '!*.@(db|sqlite)?(3)'
sqlite3" to ~/.bash_completion.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/526264
Title:
sqlite3 completion restricted to .sqlite files
Status in “bash-completion” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: bash-completion
The following line is wrong, I think:
/etc/bash_completion:complete -f -X '!*.sqlite' sqlite3
There's no de-facto/common suffix for sqlite database files, and i haven't seen any that used the .sqlite suffix.
So the completion directive makes it harder to use sqlite from the command line.
ProblemType: Bug
Architecture: amd64
Date: Tue Feb 23 09:38:23 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: bash-completion 1:1.0-3ubuntu2
PackageArchitecture: all
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: bash-completion
Uname: Linux 2.6.31-19-generic x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/526264/+subscriptions
More information about the foundations-bugs
mailing list