Initial
This commit is contained in:
commit
7e204a3d9f
6 changed files with 124 additions and 0 deletions
17
.dotfiles/bootstrap/00_brew.sh
Normal file
17
.dotfiles/bootstrap/00_brew.sh
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
sudo xcode-select --install
|
||||
|
||||
echo "Press [ENTER] when install has finished"
|
||||
read
|
||||
|
||||
# install homebrew if it's missing
|
||||
if ! command -v brew >/dev/null 2>&1; then
|
||||
echo "Installing homebrew"
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.Brewfile" ]; then
|
||||
echo "Updating homebrew bundle"
|
||||
brew bundle --global
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue