Date: Fri, 02 Dec 2016 14:15:23 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215003] devel/git CONTRIB option breaks zsh git completions Message-ID: <bug-215003-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215003 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@FreeBSD.org Reporter: martin@sugioarto.com Flags: maintainer-feedback?(garga@FreeBSD.org) Assignee: garga@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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215003-13>