Skip to content

Commit

Permalink
antigen: Depends on zsh for Linuxbrew (Homebrew#3038)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjackman authored Jun 22, 2017
1 parent f46cee0 commit bbeda62
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Formula/antigen.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
class ZshRequirement < Requirement
fatal true
default_formula "zsh"
satisfy { which "zsh" }
end

class Antigen < Formula
desc "Plugin manager for zsh, inspired by oh-my-zsh and vundle."
homepage "http://antigen.sharats.me/"
Expand All @@ -7,6 +13,8 @@ class Antigen < Formula

bottle :unneeded

depends_on ZshRequirement unless OS.mac?

def install
pkgshare.install "bin/antigen.zsh"
end
Expand Down

0 comments on commit bbeda62

Please sign in to comment.