858d0ba996
Bump version of z Closes Homebrew/homebrew#45202. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
19 lines
547 B
Ruby
19 lines
547 B
Ruby
class Z < Formula
|
|
desc "Tracks most-used directories to make cd smarter"
|
|
homepage "https://github.com/rupa/z"
|
|
url "https://github.com/rupa/z/archive/v1.9.tar.gz"
|
|
sha256 "e2860e4f65770e02297ca4ca08ec1ee623a658bd9cc1acddbbe5ad22e1de70a7"
|
|
|
|
head "https://github.com/rupa/z.git"
|
|
|
|
def install
|
|
(prefix/"etc/profile.d").install "z.sh"
|
|
man1.install "z.1"
|
|
end
|
|
|
|
def caveats; <<-EOS.undent
|
|
For Bash or Zsh, put something like this in your $HOME/.bashrc or $HOME/.zshrc:
|
|
. `brew --prefix`/etc/profile.d/z.sh
|
|
EOS
|
|
end
|
|
end
|