about summary refs log tree commit diff
path: root/Completion/Debian/_deb_packages
blob: b5e4ffd8549d7723eb9eb95bd549dc9fe3cfcde5 (plain) (blame)
1
2
3
4
5
6
7
#autoload

if (( ! $+_deb_packages )); then
  _deb_packages=( $(awk '/^Package:/ { print $2 }' /var/lib/dpkg/status) )
fi

compadd "$@" - $_deb_packages