Add homebrew-installed completions to fpath
This commit is contained in:
parent
f2a826e963
commit
38dc1a44c9
2 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
Homebrew
|
||||
========
|
||||
|
||||
Defines Homebrew aliases.
|
||||
Defines Homebrew aliases, and if loaded before the completion module, adds
|
||||
homebrew-installed completions.
|
||||
|
||||
Aliases
|
||||
-------
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue