From c0c628823ce3256b7262523967666098f9dc50a7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 25 Dec 2016 15:50:33 -0500 Subject: [PATCH] os/macos: flesh out install/update scripts --- os/macos/install | 10 ++++++++-- os/macos/update | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/os/macos/install b/os/macos/install index d5ed1154..2a453771 100755 --- a/os/macos/install +++ b/os/macos/install @@ -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 diff --git a/os/macos/update b/os/macos/update index bdcddb48..6c940cd2 100755 --- a/os/macos/update +++ b/os/macos/update @@ -1,6 +1,6 @@ #!/bin/bash -if command -v brew; then +if command -v brew >/dev/null; then brew update brew upgrade brew cleanup