[Bash-completion-commits] [SCM] bash-completion branch, master, updated. cbe81a50dad02baf4032b1bfe663eb39bc806743
Ville Skyttä
ville.skytta at iki.fi
Tue Jul 14 18:11:54 UTC 2009
The following commit has been merged in the master branch:
commit cbe81a50dad02baf4032b1bfe663eb39bc806743
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Tue Jul 14 21:11:48 2009 +0300
Add link to Ubuntu bug about disabling database and user completions.
diff --git a/contrib/postgresql b/contrib/postgresql
index 98601c5..e3b8574 100644
--- a/contrib/postgresql
+++ b/contrib/postgresql
@@ -6,7 +6,7 @@
have psql && {
_pg_databases()
{
- return # intentionally disabled in 7ebed6af (TODO: why?)
+ return # See https://launchpad.net/bugs/164772
COMPREPLY=( $( compgen -W "$( psql -l 2>/dev/null | \
sed -e '1,/^-/d' -e '/^(/,$d' | \
awk '{print $1}' )" -- $cur ) )
@@ -14,6 +14,7 @@ _pg_databases()
_pg_users()
{
+ # See https://launchpad.net/bugs/164772
#COMPREPLY=( $( psql -qtc 'select usename from pg_user' template1 2>/dev/null | \
# grep "^ $cur" ) )
#[ ${#COMPREPLY[@]} -eq 0 ] && COMPREPLY=( $( compgen -u -- $cur ) )
--
bash-completion
More information about the Bash-completion-commits
mailing list