You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I researched how completion is implemented in bash I found out that most of them are loaded lazily, i.e. at the start of the session compdef doesn't show that it knows anything about git. But when you try to complete git command, bash_completion package looks for corresponding completion and loads it.
I didn't looked at zsh, but looks like something similar happens here. Output of zstyle | grep git is empty for me although git have some completions.
zsh
already ships with lots of completion scripts.cod
attempts to learn these, even though they already exist.For example:
cod
should probably checkzstyle
orcompdef
to determine which autocompletions are already available.The text was updated successfully, but these errors were encountered: