fixed _java_packages()

This commit is contained in:
David Paleino 2008-06-23 11:48:08 +02:00
parent 7ebed6afbd
commit baeae29f9a
2 changed files with 3 additions and 2 deletions

View File

@ -4692,7 +4692,7 @@ _java_packages()
fi
done
# keep only packages
COMPREPLY=( $( echo ${COMPREPLY[@]} | tr " " "\n" | grep "/$" ) )
COMPREPLY=( $( echo "${COMPREPLY[@]}" | tr " " "\n" | grep "/$" ) )
# remove packages extension
COMPREPLY=( ${COMPREPLY[@]%/} )
# convert path syntax to package syntax

3
debian/changelog vendored
View File

@ -11,8 +11,9 @@ bash-completion (20080617.4) UNRELEASED; urgency=low
addition to standard ones.
- fixed _command() to correctly prune the command line
- disabled completion of PostgreSQL users and databases
- fixed _java_packages()
-- David Paleino <d.paleino@gmail.com> Mon, 23 Jun 2008 11:45:52 +0200
-- David Paleino <d.paleino@gmail.com> Mon, 23 Jun 2008 11:47:52 +0200
bash-completion (20080617.3) unstable; urgency=low