os/macos: flesh out install/update scripts
This commit is contained in:
parent
7994e4cca3
commit
c0c628823c
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if command -v brew; then
|
||||
if command -v brew >/dev/null; then
|
||||
brew update
|
||||
brew upgrade
|
||||
brew cleanup
|
||||
|
|
Loading…
Reference in a new issue