Skip to content

Instantly share code, notes, and snippets.

@askeing
Last active April 14, 2016 19:07
Show Gist options
  • Save askeing/4373d5ab3040bdba97544e3ead81a99b to your computer and use it in GitHub Desktop.
Save askeing/4373d5ab3040bdba97544e3ead81a99b to your computer and use it in GitHub Desktop.
Homebrew and Git
alias ll='ls -lah'
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
# depend on git's version from brew
export PATH=/usr/local/Cellar/git/2.8.1/bin:/usr/local/bin:/Users/Askeing/.carg$
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
source ~/git-completion.bash
# brew cask
brew tap caskroom/cask
# git
brew install git
# wget
brew install wget
# bash completion
brew install bash-completion
# git completion
wget -O ~/git-completion.bash https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash
echo "source ~/git-completion.bash" >> ~/.bash_profile
# nodejs, npm
brew install nvm
# servo
brew install automake pkg-config python cmake openssl
brew link --force openssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment