Add bash and zsh completion directory functions.
This commit is contained in:
parent
161b89ddf0
commit
58bc3b8054
@ -137,6 +137,9 @@ class Formula
|
|||||||
# generally we don't want var stuff inside the keg
|
# generally we don't want var stuff inside the keg
|
||||||
def var; HOMEBREW_PREFIX+'var' end
|
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
|
# override this to provide a plist
|
||||||
def plist; nil; end
|
def plist; nil; end
|
||||||
alias :startup_plist :plist
|
alias :startup_plist :plist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user