Created
April 28, 2010 11:42
-
-
Save jackkinsella/382035 to your computer and use it in GitHub Desktop.
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
cd Code | |
#paths | |
export PATH=$PATH:/opt/local/bin | |
export MANPATH=$MANPATH:/opt/local/share/man | |
export INFOPATH=$INFOPATH:/opt/local/share/info | |
export PATH=/usr/local/mysql/bin:$PATH | |
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH" | |
export PATH=$PATH:~/code/scripts | |
#RSPEC Autotest | |
# export RSPEC=true autotest | |
#Cucumber | |
scu="script/cucumber" | |
scut="script/cucumber --tags" | |
#Cucumber Autotest | |
export AUTOFEATURE=true autospec | |
#constants | |
export HISTFILESIZE=100000 | |
export HISTSIZE=10000 | |
#aliases | |
#textmate | |
alias m="mate" | |
#linux | |
alias hg="history | grep" | |
alias ls='ls -a' | |
alias rm='rm -i' | |
#rails | |
alias ss="script/server" | |
alias sc="script/console" | |
alias sg='script/generate' | |
alias sd='script/destroy' | |
alias spi='script/plugin install' | |
alias r='rails' | |
alias rdm='rake db:migrate --trace' | |
alias rdr='rake db:reset' | |
alias at="autotest" | |
alias atp='rake db:test:prepare ;autotest' | |
alias gi='gem install' | |
#heroku | |
alias h="heroku" | |
alias hrdm="heroku rake db:migrate" | |
alias ho="heroku open" | |
#git | |
alias gc='git commit -a -m "' | |
alias gp='git push' | |
alias gph='git push heroku master' | |
alias gs='git status' | |
alias gi="git init" | |
alias gd="git diff" | |
alias gl="git log" | |
alias gco="git checkout" | |
alias gcl='git clone' | |
alias ga="git commit --amend" | |
alias grh="git revert HEAD" | |
#open bash profile | |
alias bp='mate ~/.bash_profile' | |
#ruby version manager stuff | |
if [[ -s /Users/jack/.rvm/scripts/rvm ]] ; then source /Users/jack/.rvm/scripts/rvm ; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment