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