Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 3.1.9 and completion: "command not found: compgen"



On Jun 24,  7:04pm, Roland Jesse wrote:
} Subject: 3.1.9 and completion: "command not found: compgen"
}
} # The following lines were added by compinstall
} _compdir=/usr/local/share/zsh/functions
} [[ -z $fpath[(r)$_compdir] ]] && fpath=($fpath $_compdir)
} autoload -U compinit
} compinit
} compconf completer=_complete:_correct:_approximate
} # End of lines added by compinstall

compconf has been obsolete for a while now, and was removed just after
the 3.1.9 release (i.e. it won't be in 4.0).  I rather suspect that you
are running the new 3.1.9 binary but you still have the old 3.1.6 set
of completion system functions; this won't work at all.

} Did the completion initialization change without me noticing?

It changed a whole lot, beginning last November, and has gone through
several sweeping changes since then.  "autoload -U compinit; compinit"
is about the only thing that remained constant.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author