ZSH auto completion for git takes significant amount of time, can I turn it off or optimize it?

前端 未结 6 2031
悲哀的现实
悲哀的现实 2021-01-31 03:49

Git\'s tab autocompletion is useful for small projects, but I\'m currently working on two big projects that use git and for these it\'s worse than useless. Whenever I type, say,

6条回答
  •  遥遥无期
    2021-01-31 04:30

    One very quick and dirty solution is to delete the following file responsible for the auto-completion.

    /usr/local/git/contrib/completion/git-completion.bash
    

提交回复
热议问题