formula: Add convenience method for installing Zsh functions
This commit is contained in:
parent
276d00938c
commit
95688cd72e
@ -778,6 +778,14 @@ class Formula
|
||||
HOMEBREW_PREFIX+"var"
|
||||
end
|
||||
|
||||
# The directory where the formula's ZSH function files should be
|
||||
# installed.
|
||||
# This is symlinked into `HOMEBREW_PREFIX` after installation or with
|
||||
# `brew link` for formulae that are not keg-only.
|
||||
def zsh_function
|
||||
share+"zsh/site-functions"
|
||||
end
|
||||
|
||||
# The directory where the formula's fish function files should be
|
||||
# installed.
|
||||
# This is symlinked into `HOMEBREW_PREFIX` after installation or with
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user