On Wed, Apr 27, 2011 at 4:11 AM, Felipe Contreras <felipe.contreras@xxxxxxxxx> wrote: > On Tue, Apr 26, 2011 at 11:28 PM, Marius Storm-Olsen > <marius@xxxxxxxxxxxxxxx> wrote: >> If bashcompinit has not already been autoloaded, do so >> automatically, as it is required to properly parse the >> git-completion file with ZSH. >> >> Signed-off-by: Marius Storm-Olsen <mstormo@xxxxxxxxx> >> --- > >> +if [[ -n ${ZSH_VERSION-} ]]; then >> + Â Â Â if ! bashcompinit >/dev/null 2>&1; then >> + Â Â Â Â Â Â Â autoload -U bashcompinit >> + Â Â Â Â Â Â Â bashcompinit >> + Â Â Â fi > > How about this instead? > autoload -UX bashcompinit && bashcompinit Er, autoload -U +X. -- Felipe Contreras -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html