Skip to content

Instantly share code, notes, and snippets.

@cjbischoff
Forked from NigoroJr/brew.sh
Created December 20, 2016 18:27
Show Gist options
  • Save cjbischoff/ff699cfd55f9e70d2cc85dc93a40ee50 to your computer and use it in GitHub Desktop.
Save cjbischoff/ff699cfd55f9e70d2cc85dc93a40ee50 to your computer and use it in GitHub Desktop.
GNU-ify Mac OS X
#!/bin/sh
if [ `which brew | grep 'brew$'` = "" ]; then
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
fi
if [ ! -e ~/.zshrc_local -o `grep '\$(brew --prefix coreutils)/libexec/gnubin' ~/.zshrc_local` = "" ]; then
echo 'export PATH="$(brew --prefix coreutils)/libexec/gnubin:/usr/local/bin:$PATH"' >> ~/.zshrc_local
fi
brew tap homebrew/dupes
brew tap homebrew/versions
brew install makedepend
brew install tmux
brew install coreutils --with-default-names
brew install binutils --with-default-names
brew install diffutils --with-default-names
brew install findutils --with-default-names
brew install gawk --with-default-names
brew install gnu-indent --with-default-names
brew install gnu-sed --with-default-names
brew install gnu-tar --with-default-names
brew install gnu-which --with-default-names
brew install gnutls --with-default-names
brew postinstall gnutls
brew install grep --with-default-names
brew install gzip
brew install grsync
brew install watch
brew install wdiff --with-gettext
brew install wget
brew install vim --override-system-vi
brew install git
brew install less
brew install openssh --with-brewed-openssl
brew install python3 --with-brewed-openssl
brew install unzip
#brew install macvim --override-system-vim --custom-system-icons --with-lua --with-python3
brew install zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment