Mac tweaks (#117)

This commit is contained in:
Cyryl Płotnicki 2017-06-16 16:17:00 +01:00 committed by GitHub
parent ac0a2dbc20
commit b0b67091de

View file

@ -23,8 +23,6 @@ brew install \
watch \ watch \
zsh zsh
echo "Installing networking tools"
brew unlink gnupg2 brew unlink gnupg2
brew uninstall gnupg2 brew uninstall gnupg2
@ -47,7 +45,8 @@ brew install --force \
socat \ socat \
unrar \ unrar \
wget \ wget \
fontconfig fontconfig \
syncthing
brew install \ brew install \
carthage \ carthage \
@ -66,18 +65,17 @@ brew install \
doxygen \ doxygen \
go go
echo "Installing GUI tools"
brew cask install gimp brew cask install gimp
brew cask install iterm2 brew cask install iterm2
brew cask install docker brew cask install docker
brew cask install appcode brew cask install appcode
echo "Settings up zsh" brew services start syncthing
if ! fgrep /usr/local/bin/zsh /etc/shells; then if ! fgrep /usr/local/bin/zsh /etc/shells; then
sudo bash -c "echo /usr/local/bin/zsh >> /etc/shells" sudo bash -c "echo /usr/local/bin/zsh >> /etc/shells"
fi fi
echo "Brew cleanup"
brew linkapps brew linkapps
brew cleanup brew cleanup
brew prune brew prune
@ -85,6 +83,7 @@ brew doctor
echo "Configuring NVRAM" echo "Configuring NVRAM"
sudo nvram SystemAudioVolume=%80 sudo nvram SystemAudioVolume=%80
defaults write com.google.Keystone.Agent checkInterval 4233600
DIR="$DIR/../" DIR="$DIR/../"
DIR=`realpath "$DIR"` DIR=`realpath "$DIR"`