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

Re: Error in git completion



On Nov 22,  6:00pm, Daniel Serodio (lists) wrote:
}
} git completion was working fine, but I don't know why it's stopped working:
} 
}      _git:49: _git_commands: function definition file not found

The _git_commands function is defined *in* the _git file, so this most
likely means that _git_commands is somehow becoming undefined and then
marked for autoloading.  (If it weren't marked for autoload, you'd get
"command not found" rather than "definition file not found".)

Under normal circumstances _git_commands would never be marked autoload,
it'd just become defined as part of the autoload of _git.  So something
in your initialization sequence has incorrectly flagged it.

Try removing ${ZDOTDIR:-$HOME}/.zcompdump* -- if that doesn't help, you'll
need to trace through your startup more carefully.



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