zsh-users
 help / color / mirror / code / Atom feed
* 3.1.9 and completion: "command not found: compgen"
@ 2000-06-24 17:04 Roland Jesse
  2000-06-24 19:04 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Jesse @ 2000-06-24 17:04 UTC (permalink / raw)
  To: Zsh Users

Without digging into it:

I just upgraded from 3.1.6 to 3.1.9 (making use of the FreeBSD's ports
collection). Initializing completion with:

% autoload -U compinit
% compinstall

puts the following into my .zshrc:

# 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

Trying it out

% cd <TAB>
compgen:12: no such builtin: compgen

Did the completion initialization change without me noticing?

        Roland


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 3.1.9 and completion: "command not found: compgen"
  2000-06-24 17:04 3.1.9 and completion: "command not found: compgen" Roland Jesse
@ 2000-06-24 19:04 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2000-06-24 19:04 UTC (permalink / raw)
  To: Roland Jesse, Zsh Users

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   


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-24 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-24 17:04 3.1.9 and completion: "command not found: compgen" Roland Jesse
2000-06-24 19:04 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).