Sha256: b66279c6d843292b74ead6965d222d54d72dfa0e9eb90965f6e74e2032d6ccd2

Contents?: true

Size: 498 Bytes

Versions: 13

Compression:

Stored size: 498 Bytes

Contents

require 'bin_install/zsh/oh_my_zsh'

module BinInstall
  module Zsh
    def self.require!
      abort('Zsh is required. Visit http://www.zsh.org/ to install.'.red) unless installed?
    end

    def self.install
      puts 'Installing Zsh...'.white
      Brew::Package.install_or_upgrade('zsh')
    end

    def self.install!
      puts 'Installing Zsh...'.white
      Brew::Package.install_or_upgrade('zsh')
    end

    def self.installed?
      Shell.executable_exists?('zsh')
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
bin_install-0.0.33 lib/bin_install/zsh.rb
bin_install-0.0.32 lib/bin_install/zsh.rb
bin_install-0.0.31 lib/bin_install/zsh.rb
bin_install-0.0.30 lib/bin_install/zsh.rb
bin_install-0.0.29 lib/bin_install/zsh.rb
bin_install-0.0.28 lib/bin_install/zsh.rb
bin_install-0.0.27 lib/bin_install/zsh.rb
bin_install-0.0.26 lib/bin_install/zsh.rb
bin_install-0.0.25 lib/bin_install/zsh.rb
bin_install-0.0.24 lib/bin_install/zsh.rb
bin_install-0.0.23 lib/bin_install/zsh.rb
bin_install-0.0.22 lib/bin_install/zsh.rb
bin_install-0.0.21 lib/bin_install/zsh.rb