Created
November 1, 2013 19:19
-
-
Save snodgrass23/7270490 to your computer and use it in GitHub Desktop.
bash profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROMPT_COMMAND='DIR=`pwd|sed -e "s!$HOME!~!"`; if [ ${#DIR} -gt 30 ]; then CurDir=${DIR:0:12}...${DIR:${#DIR}-15}; else CurDir=$DIR; fi' | |
PS1="[\$CurDir] \$ " | |
alias c="mate ~/.bash_profile" | |
alias r=". ~/.bash_profile" | |
alias l="ls -la" | |
alias push="git push origin master" | |
alias pull="git pull origin master" | |
alias commit="git add .; git commit -m" | |
alias b="bundle" | |
alias bi="b install --path vendor" | |
alias bil="bi --local" | |
alias bu="b update" | |
alias be="b exec" | |
alias ber="be rake" | |
alias binit="bi && b package && echo 'vendor/ruby' >> .gitignore" | |
alias cheetah="IMPORTING=1 be unicorn -p 3000 -E development" | |
alias raker="be rake db:drop && be rake db:create && be rake db:migrate" | |
alias sublime="subl -n ./" | |
alias copy-ssh="pbcopy < ~/.ssh/id_rsa.pub" | |
alias postgres="/Applications/Postgres.app/Contents/MacOS/bin/psql" | |
export RUBY_HEAP_MIN_SLOTS=1000000 | |
export RUBY_HEAP_SLOTS_INCREMENT=1000000 | |
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 | |
export RUBY_GC_MALLOC_LIMIT=1000000000 | |
export RUBY_HEAP_FREE_MIN=500000 | |
export RUBYOPT="-ropenssl" | |
eval "$(rbenv init -)" | |
export PATH=/usr/local/bin:$PATH | |
### Add nom modules to path | |
export PATH=/usr/local/share/npm/bin:$PATH | |
### Added by the Heroku Toolbelt | |
export PATH="/usr/local/heroku/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment