keith / zsh-xcode-completions

Zsh completion for the Xcode command line tools
MIT License
57 stars 5 forks source link

After install and restart Terminal, seems no autocompletion occur. #3

Closed CodeLife2012 closed 4 years ago

CodeLife2012 commented 7 years ago

I'm sure I successfully installed in /usr/local/Cellar/zsh-xcode-completions/1.2.0/, should I need config otherwhere?

keith commented 7 years ago

Do you have your fpath setup as shown by brew info zsh-xcode-completions?

To activate these completions, add the following to your .zshrc:

  fpath=(/usr/local/share/zsh/site-functions $fpath)

You may also need to force rebuild `zcompdump`:

  rm -f ~/.zcompdump; compinit

Additionally, if you receive "zsh compinit: insecure directories" warnings when attempting
to load these completions, you may need to run this:

  chmod go-w /usr/local/share

zsh completion has been installed to:
  /usr/local/share/zsh/site-functions
keith commented 4 years ago

Feel free to open a new issue if it's related to this plugin!