From f084a849e7f1b405f57e34f13528685cd3d6cedc Mon Sep 17 00:00:00 2001 From: Ed Rooth Date: Mon, 20 Feb 2017 17:27:39 -0800 Subject: [PATCH] mac fixes --- README.md | 17 +++++++++++++++++ git/.gitconfig | 2 -- setup-mac.sh | 16 ++++++++++------ 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 011a9a2..0259cb9 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,20 @@ INSTALL TODO: move git aliases to git config + +UNINSTALL (MAC) +--------------- + +Remove all homebrew formulas: + +```bash +brew list -1 | xargs brew uninstall --force +``` + +Remove homebrew itself: +https://github.com/Homebrew/brew/blob/master/docs/FAQ.md#how-do-i-uninstall-homebrew + +```bash +ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)" +``` + diff --git a/git/.gitconfig b/git/.gitconfig index e35bd26..52b1448 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -10,5 +10,3 @@ editor = nvim [gpg] program = gpg2 -[diff] - ~/git-diff-wrapper diff --git a/setup-mac.sh b/setup-mac.sh index 7415bad..2185ff0 100755 --- a/setup-mac.sh +++ b/setup-mac.sh @@ -1,9 +1,7 @@ #!/bin/bash # Prior to running this ensure the following are installed: -# Xcode, iTerm 2 - -cd $HOME +# Xcode, iTerm 2, Golang echo "OSX: disable dashboard" defaults write com.apple.dashboard mcx-disabled -boolean YES; killall Dock @@ -16,7 +14,15 @@ brew doctor brew update echo "install brew apps" -brew install nvim git ag tree gpg2 ctags-exuberant mercurial openssl python unzip stow glide +brew install neovim/neovim/neovim +brew install git +brew install the_silver_searcher +brew install tree +brew install gpg2 +brew install mercurial +brew install openssl +brew install python +brew install stow echo "bew install standard gnu utils" # The --default-names option will prevent Homebrew from prepending a g to each of the newly installed commands @@ -41,8 +47,6 @@ brew install wget echo "setup dotfiles" -git clone git@github.com:sym3tri/dotfiles.git -cd $HOME/dotfiles stow bash stow git stow nvim