`_autojump` 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 #11936 for details.
Closes#11942.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
`_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 #11936 for details.
Closes#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 #11936 for details.
Closes#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.
Closes#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.
Closes#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.
Closes#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.
Closes#11955.
[jn: mkpath everything under share/zsh]
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
git-clone's --single-branch is too new, and Xcode 4.3's stock git
doesn't have it. Since we don't require git from Homebrew, don't use it.
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.
Fixes#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.
Closes#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.
Fixes#10893.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
If a formula implements startup_plist it has out-of-the-box support by
brew services. If not it's possible to specify the path to a plist file:
`brew services couchdb-lucence /usr/local/Cellar/..../couchdb-lucene.plist`.
Fixes#3422.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>