diff options
Diffstat (limited to 'mac-install.sh')
-rwxr-xr-x | mac-install.sh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mac-install.sh b/mac-install.sh new file mode 100755 index 0000000..62893cd --- /dev/null +++ b/mac-install.sh @@ -0,0 +1,33 @@ +RUBY_VERSION="2.6.7" + +cat Brewfile | xargs brew install +cat Caskfile | xargs brew install --cask + +# Plug plugin manager for neovim/vim +curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim +curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + +./linky.sh + +source $HOME/.zshrc +# ruby-install ruby $RUBY_VERSION +chruby ruby-$RUBY_VERSION + + +# This repo can be cloned/installed anywhere but we always make a link here +# such that other scripts know where to find things +ln -sfn $PWD $HOME/.dotfiles + +# This directory may not exist yet, so we make a call to `mkdir` for good +# measure +mkdir -p $HOME/.config/nvim +ln -sfn $PWD/init.vim $HOME/.config/nvim/init.vim + +mkdir $HOME/Screenshots +defaults write com.apple.screencapture location -string $HOME/Screenshots +defaults write com.apple.screencapture show-thumbnail -bool FALSE +defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false +cd /Applications +sudo chflags hidden Messages.app Mail.app Maps.app Siri.app News.app Home.app FaceTime.app Chess.app Books.app Dictionary.app |