* Error in git completion
@ 2012-11-22 20:00 Daniel Serodio (lists)
2012-11-22 20:36 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Serodio (lists) @ 2012-11-22 20:00 UTC (permalink / raw)
To: zsh-users
git completion was working fine, but I don't know why it's stopped working:
_git:49: _git_commands: function definition file not found
Since I have a few directories in my $FPATH, I made sure I'm using the
"official" git completion:
% for f in $fpath; [[ -e $f/_git ]] && echo $f
/usr/local/Cellar/zsh/5.0.0/share/zsh/functions
I'm using zsh 5.0.0 on Mac OS 10.8.2
Thanks in advance,
Daniel Serodio
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Error in git completion
2012-11-22 20:00 Error in git completion Daniel Serodio (lists)
@ 2012-11-22 20:36 ` Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2012-11-22 20:36 UTC (permalink / raw)
To: zsh-users
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-22 20:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-22 20:00 Error in git completion Daniel Serodio (lists)
2012-11-22 20:36 ` 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).