############################################################################# # Dpkg completion control for zsh. # # NOTE: Completion for these commands (dpkg, dpkg-source, bug) # are included # upstream as part of the new completion system. # Seriously consider using that instead. # # Originally by Joey Hess , GPL copyright. # Contributions and fixes from Karl Hegbloom, Fabien Ninoles, # Gregor Hoffleit, Csaba Benedek, &c. # # Currently doesn't handle correctly: # Options after -D or --debug. # --force- and friends,--ignore-depends,--root= and friends. # A function to return all available package names. # This could be done without grep and awk by replacing that line with # reply=(${${(M)${(f)"$(