[Bug 215003] devel/git CONTRIB option breaks zsh git completions
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 2 14:15:25 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215003
Bug ID: 215003
Summary: devel/git CONTRIB option breaks zsh git completions
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: garga at FreeBSD.org
Reporter: martin at sugioarto.com
Flags: maintainer-feedback?(garga at FreeBSD.org)
Assignee: garga at FreeBSD.org
Hi,
the CONTRIB option installs a softlink to Git completions that do not work
correctly.
This behavior is caused by this softlink:
/usr/local/share/zsh/site-functions/_git
I have 2 systems that do not have this softlink and they fall back to the
native completion supplied by zsh that works fine.
Here is the behavior of the systems that use the completions supplied by
devel/git through the softlink above:
Type in any directory:
git add <TAB>
Output:
git add __git_zsh_bash_func:9: command not found: __git_aliased_command
I am not sure, but it seems that this error message is caused by
/usr/local/share/git-core/contrib/completion/git-completion.zsh in lines 29-42
where the bash completion script path is constructed. As far as I understand
it, the zsh version imports some functions from the bash completion script.
Please check this.
Thank you.
--
Martin
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list