Skip to content

Instantly share code, notes, and snippets.

@btc
Created August 4, 2014 18:52
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 btc/1cf0728c3df2d02357ee to your computer and use it in GitHub Desktop.
Save btc/1cf0728c3df2d02357ee to your computer and use it in GitHub Desktop.
#homebrew before usr/bin
export PATH=/usr/local/bin:$PATH
# to load up z index
. $HOME/bin/z.sh
# appending to PATH
PATH=$HOME/bin:$PATH
# for virtualenvwrapper
export WORKON_HOME=$HOME/lib/envs
source /usr/local/bin/virtualenvwrapper.sh
# for Go install
export GOROOT=$HOME/bin/go
export PATH=$PATH:$GOROOT/bin
# tranquil
export PATH=$PATH:/usr/local/tranquil/bin
# for Go workspace
export GOPATH=$HOME/src/go
export PATH=$PATH:$GOPATH/bin
# for Go AppEngine SDK
export PATH=$HOME/bin/go_appengine:$PATH
# for PHP Pear
export PATH=$PATH:$HOME/bin/pear/bin
# git autocomplete
if [ -f $HOME/conf/git-completion.bash ]; then
. $HOME/conf/git-completion.bash
fi
#docker
export DOCKER_HOST=tcp://127.0.0.1:4243
#aliases
alias v=vim
alias b='go build'
alias t='go test'
# for rvm
[[ -s "$HOME/lib/rvm/scripts/rvm" ]] && source "$HOME/lib/rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment