2021-11-19 02:02:26 +00:00
|
|
|
class Fisher < Formula
|
|
|
|
desc "Plugin manager for the Fish shell"
|
|
|
|
homepage "https://github.com/jorgebucaran/fisher"
|
2022-01-03 14:32:12 +00:00
|
|
|
url "https://github.com/jorgebucaran/fisher/archive/4.3.1.tar.gz"
|
|
|
|
sha256 "be4313076a57d05fe2e49a7bd1c2fa8fa2f041af837a31974cd1d8d1f397bf29"
|
2021-11-19 02:02:26 +00:00
|
|
|
license "MIT"
|
|
|
|
|
2021-11-19 06:25:00 +00:00
|
|
|
bottle do
|
2022-01-03 15:05:28 +00:00
|
|
|
sha256 cellar: :any_skip_relocation, all: "06b0c91b96b21c90c38022f9365a72e2c6fcbfe544cdb4c46f43b347df750bbd"
|
2021-11-19 06:25:00 +00:00
|
|
|
end
|
|
|
|
|
2021-11-19 02:02:26 +00:00
|
|
|
depends_on "fish"
|
|
|
|
|
|
|
|
def install
|
|
|
|
fish_function.install "functions/fisher.fish"
|
|
|
|
fish_completion.install "completions/fisher.fish"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{Formula["fish"].bin}/fish", "-c", "fisher install jethrokuan/z"
|
|
|
|
assert_equal File.read(testpath/".config/fish/fish_plugins"), "jethrokuan/z\n"
|
|
|
|
end
|
|
|
|
end
|