source './osx/utils.sh'

# brew_packages : Asks to install packages and software

brew_packages() {

	if cmd_exists "brew"; then

		print_in_blue "Updating brew packages ..."
		execute "brew update"
		brew upgrade --all

		# Shell Specific

		print_in_blue "Shell packages"
		brew_install "tree"
		brew_install "jq"
    brew_install "gpg"
    brew_install "pinetry-mac"
    brew_install "gh"

		# Developer

		print_in_blue "Developer packages"
		brew_install "yarn"

		# OSX Software

		print_in_blue "OS X Apps."
		./osx-apps.sh

		brew cleanup
	else
		print_error 'brew not installed, the packages cannot be installed without brew.'
		./osx/software/brew-install.sh
	fi
}

brew_packages

source './osx/utils.sh'

# brew_packages : Asks to install packages and software

brew_packages() {

	if cmd_exists "brew"; then

		print_in_blue "Updating brew packages ..."
		execute "brew update"
		brew upgrade --all

		# Shell Specific

		print_in_blue "Shell packages"
		brew_install "tree"
		brew_install "jq"
                brew_install "gpg"
                brew_install "pinetry-mac"
                brew_install "gh"
		brew_install "bat"

		# Developer

		print_in_blue "Developer packages"
		brew_install "yarn"

		# OSX Software

		print_in_blue "OS X Apps."
		./osx-apps.sh

		brew cleanup
	else
		print_error 'brew not installed, the packages cannot be installed without brew.'
		./osx/software/brew-install.sh
	fi
}

brew_packages

Add bat to brew packages
:sparkles: Add bat to brew packages