* [BUG?] Git completion "command not found"
@ 2018-08-17 10:20 Sebastian Gniazdowski
2018-08-17 14:00 ` dana
2018-08-18 2:37 ` Phil Pennock
0 siblings, 2 replies; 5+ messages in thread
From: Sebastian Gniazdowski @ 2018-08-17 10:20 UTC (permalink / raw)
To: Zsh hackers list
Hello,
running HEAD zsh, from some time, I get e.g. on git add in<TAB>:
__git_zsh_bash_func:9: command not found: __git_aliased_command
The same on git diff --cac<TAB>.
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG?] Git completion "command not found"
2018-08-17 10:20 [BUG?] Git completion "command not found" Sebastian Gniazdowski
@ 2018-08-17 14:00 ` dana
2018-08-17 16:12 ` Sebastian Gniazdowski
2018-08-18 2:37 ` Phil Pennock
1 sibling, 1 reply; 5+ messages in thread
From: dana @ 2018-08-17 14:00 UTC (permalink / raw)
To: Sebastian Gniazdowski; +Cc: Zsh hackers list
On 17 Aug 2018, at 05:20, Sebastian Gniazdowski <sgniazdowski@gmail.com> wrote:
>Hello,
>running HEAD zsh, from some time, I get e.g. on git add in<TAB>:
>
>__git_zsh_bash_func:9: command not found: __git_aliased_command
https://github.com/robbyrussell/oh-my-zsh/issues/4553
08:58:56 < okdana> !omz
08:58:56 < machabot> "omz" is shorthand for "oh-my-zsh", an extension which the
consensus of this channel recommends against using. If you
see odd behaviour using omz, please try disabling omz and
see if the issue remains. For assistance with oh-my-zsh,
try the channel #oh-my-zsh.
smh
dana
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG?] Git completion "command not found"
2018-08-17 10:20 [BUG?] Git completion "command not found" Sebastian Gniazdowski
2018-08-17 14:00 ` dana
@ 2018-08-18 2:37 ` Phil Pennock
1 sibling, 0 replies; 5+ messages in thread
From: Phil Pennock @ 2018-08-18 2:37 UTC (permalink / raw)
To: Sebastian Gniazdowski; +Cc: Zsh hackers list
On 2018-08-17 at 12:20 +0200, Sebastian Gniazdowski wrote:
> Hello,
> running HEAD zsh, from some time, I get e.g. on git add in<TAB>:
>
> __git_zsh_bash_func:9: command not found: __git_aliased_command
>
> The same on git diff --cac<TAB>.
That logic comes from the zsh completion provided by the Git project.
If you're running current zsh (and HEAD certainly qualifies) then I
recommend against enabling that completion and stick to the stuff
supplied by zsh.
My dotfiles repo git commit log shows that I experimented with using
the git-project-maintained zsh completion and removed it because
`git -C <tab>` would yield `alias.-C` errors. I don't think I chased it
further, I just made sure to stick to the zsh project's completion for
git. Aside from anything else, it's easier to debug without jumping
through bash completion shim layers.
-Phil
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-08-18 2:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-17 10:20 [BUG?] Git completion "command not found" Sebastian Gniazdowski
2018-08-17 14:00 ` dana
2018-08-17 16:12 ` Sebastian Gniazdowski
2018-08-17 16:17 ` Daniel Shahaf
2018-08-18 2:37 ` Phil Pennock
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).