Add homebrew-installed completions to fpath

This commit is contained in:
Jonathan Dahan 2015-11-03 15:04:13 -05:00
parent f2a826e963
commit 38dc1a44c9
2 changed files with 6 additions and 1 deletions

View file

@ -1,7 +1,8 @@
Homebrew
========
Defines Homebrew aliases.
Defines Homebrew aliases, and if loaded before the completion module, adds
homebrew-installed completions.
Aliases
-------

View file

@ -31,3 +31,7 @@ alias caski='brew cask install'
alias caskl='brew cask list'
alias casks='brew cask search'
alias caskx='brew cask uninstall'
if (( $+commands[brew] )); then
fpath=(`brew --prefix`/share/zsh/site-functions $fpath)
fi