May I ask why this problem occurs when pressing tab in git push?
我想大声告诉你
我想大声告诉你 2017-05-24 11:31:40
0
2
783

Excuse me, why does this problem occur when pressing tab on git push??

我想大声告诉你
我想大声告诉你

reply all(2)
淡淡烟草味

This is because the bash/zsh completion function is implemented by calling the completion function, which means that the completion function can be customized. Please refer to writing a Bash completion script.
Now your problem is bash/ Functions such as __git_remotes are not loaded when zsh is running. Bash automatically completes the directory according to your own system. You can manually load these files. Such as ./usr/share/bash-completion/ completions/git.__git_remotes 等函数, 根据你自己的系统 bash 自动补全目录,可以 手动 加载这些文件. 如 . /usr/share/bash-completion/completions/git

As for why this problem occurs, I don’t know.

迷茫

git push or //pressing tab should automatically complete the association. The complete one is origin

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template