Skip to content

Instantly share code, notes, and snippets.

@florido
Forked from NigoroJr/brew.sh
Created January 7, 2017 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save florido/c712c74a14d9138ed45ad0b3e42dc470 to your computer and use it in GitHub Desktop.
Save florido/c712c74a14d9138ed45ad0b3e42dc470 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