[Bash-completion-devel] Bug#608667: bash-completion: sqlite3 completion does not match *.db files

Paul Wise pabs at debian.org
Sun Jan 2 07:00:10 UTC 2011


Package: bash-completion
Version: 1:1.2-3
Severity: normal
Tags: patch

The sqlite3 completion rules do not match *.db, which applications
commonly use for sqlite files. This patch fixes this for me:

pabs at chianamo:~$ diff -u /etc/bash_completion{.dpkg-old,}
--- /etc/bash_completion.dpkg-old	2011-01-02 14:56:29.000000000 +0800
+++ /etc/bash_completion	2011-01-02 14:56:05.000000000 +0800
@@ -114,7 +114,7 @@
 complete -f -X '!*.@(sxm|smf|mml|odf)' oomath
 complete -f -X '!*.odb' oobase
 complete -f -X '!*.rpm' rpm2cpio
-complete -f -X '!*.s@(qlite?(3)|?(3)db)' sqlite3
+complete -f -X '!*.@(sqlite?(3)|?(3)db)' sqlite3
 complete -f -X '!*.aux' bibtex
 complete -f -X '!*.po' poedit gtranslator kbabel lokalize
 complete -f -X '!*.@([Pp][Rr][Gg]|[Cc][Ll][Pp])' harbour gharbour hbpp

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-rc7-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash                          4.1-3      The GNU Bourne Again SHell

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20110102/0ecc7bc5/attachment.pgp>


More information about the Bash-completion-devel mailing list