`_git-flow` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
This will enable homebrew's zsh to automatically use the completion.
See issue Homebrew/homebrew#11936 for details.
ClosesHomebrew/homebrew#11941.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
`_git-now` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
This will enable homebrew's zsh to automatically use the completion.
See issue Homebrew/homebrew#11936 for details.
ClosesHomebrew/homebrew#11940.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
`_task` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
ClosesHomebrew/homebrew#11939.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
`_hub` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
ClosesHomebrew/homebrew#11938.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
`_ack` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
ClosesHomebrew/homebrew#11937.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This fixes the `site-scripts` and `site-functions` directories
so that zsh points to the HOMEBREW_PREFIX version of these files
instead of the Cellar version.
This means you can drop files in these directories and the files
will persist when you upgrade zsh. Otherwise they disappear when
you upgrade zsh.
ClosesHomebrew/homebrew#11955.
[jn: mkpath everything under share/zsh]
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The current series of fetch invocations in GitDownloadStrategy has the
unfortunate behavior of fetching full history even in shallow clones
that only need the history between the clone point and the remote HEAD.
It should be possible to determine if it is actually necessary to fetch
the full history, including all tags, and if it is not to avoid this
overhead.
FixesHomebrew/homebrew#11958, and several other recurring problems.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The proctools package is known primarily for its "pgrep" and "pkill"
utilities. Adding these aliases will make it easier to find the right
formula when those tools are needed.
ClosesHomebrew/homebrew#11898.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
GIT_DIR is convenient, but it does not work when both a formula and
subformula try to stage a git checkout, as git will use the main
formula's repository when staging the subformula.
Stop setting it, and restore the kludge to the git-multipush formula.
FixesHomebrew/homebrew#10893.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Avidemux-2.5.6 had its one patch merged upstream the day this
formula was accepted. That was hoped for but unexpected. This
commit adjusts the conditional for def patches so that it only
gets applied to stable. Fixes a patch failure for 32bit + HEAD.
Also in this commit, remove the hardcoded `ENV.llvm` and switch
to using `fails_with :clang`, surrounded by a conditional so it
can still be built with clang if `--with-debug`.
ClosesHomebrew/homebrew#11959.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>