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

前端 未结 6 2090
悲哀的现实
悲哀的现实 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:35

    I have no experience with zshell, but I got this answer on another forum. You need to include this line in your .zshrc file:

    compdef -d git
    

提交回复
热议问题