diff options
| author | Mike McQuaid | 2013-01-27 22:34:26 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-01-30 21:29:19 -0800 |
| commit | 58bc3b80545b7d5a18e96b6a1d02bfd6aba97970 (patch) | |
| tree | a3f00187d2b1fd47f38d501735b66cda22936160 /Library/Homebrew | |
| parent | 161b89ddf082e9b407f47be23adf3f157da41a91 (diff) | |
| download | brew-58bc3b80545b7d5a18e96b6a1d02bfd6aba97970.tar.bz2 | |
Add bash and zsh completion directory functions.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 37f394ce9..47a2a4d11 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -137,6 +137,9 @@ class Formula # generally we don't want var stuff inside the keg def var; HOMEBREW_PREFIX+'var' end + def bash_completion; prefix+'etc/bash_completion.d' end + def zsh_completion; share+'zsh/site-functions' end + # override this to provide a plist def plist; nil; end alias :startup_plist :plist |
