os/macos: flesh out install/update scripts

This commit is contained in:
Henrik Lissner 2016-12-25 15:50:33 -05:00
parent 7994e4cca3
commit c0c628823c
2 changed files with 9 additions and 3 deletions

View file

@ -1,9 +1,15 @@
#!/bin/bash
# Install homebrew
if ! command -v brew; then
if ! command -v brew >/dev/null; then
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Installing essentials
brew install wget curl make
brew install wget curl make tree
# Essential apps
brew cask install appcleaner iterm2 imageoptim imagealpha
fi
brew install \
hub the_silver_searcher pass keybase ffmpeg fasd tmux \
neofetch youtube-dl

View file

@ -1,6 +1,6 @@
#!/bin/bash
if command -v brew; then
if command -v brew >/dev/null; then
brew update
brew upgrade
brew cleanup