Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using wajig to install packages, however when i've changed my shell to zsh it turned out that zsh doesn't list all packages in completion list, for ex.

apt-get install octave[TAB]

(about 70 completions) but when i try

wajig install octave[TAB]


aptitude install octave[TAB]

zsh shows only 19 completions

other shells i've tested (bash, fish) shows all ~70 completions in all 3 cases. So is there any way to 'fix' this completion in zsh?

share|improve this question

I get 73 entries for each of them. Check to make sure that you have completion functions called _apt, _aptitude and _wajig in your zsh completion function directory. Mine are in:


Each of these functions is different, but they each call _deb_packages which is also in that directory.

share|improve this answer
hmm... i have these functions in this directory too, could you post your version of _wajig and _aptitude? I am not sure what should i change cause there is call to _deb_packages in it. <-- This is my default _wajig file – mk_cafe Nov 1 '09 at 17:49
Your _wajig file is identical to mine. Since _apt calls _deb_packages with "avail" and the other functions call it with "uninstalled" I would do an apt-get update and see if that helps. (and maybe an apt-get check or apt-get clean) – Dennis Williamson Nov 1 '09 at 20:19
still no improvement maybe i'll try to reconfigure whole zsh – mk_cafe Nov 2 '09 at 22:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .