Created
August 24, 2009 20:22
-
-
Save kpumuk/174148 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
# Bash completition for Git | |
[ -f ~/.git-bash-completion.sh ] && . ~/.git-bash-completion.sh | |
export LANG=ru_RU.UTF-8 | |
export QTDIR=/opt/local/lib/qt3 | |
# Add ~/bin, /opt/local/bin and /opt/local/sbin to path | |
export PATH=$HOME/bin:/opt/local/bin:/opt/local/apache2/bin:/opt/thrift/bin:/opt/local/sbin:/opt/jruby/bin:$PATH | |
# Setup some environment variables | |
export PS1='\w$(__git_ps1 " (\[\e[0;32m\]%s\[\e[0m\])")$ ' | |
export GREP_OPTIONS="--color=auto" | |
export MANPATH=/opt/local/man:$MANPATH | |
export EDITOR=mate | |
# Some Java variables | |
export JAVA_HOME='/System/Library/Frameworks/JavaVM.framework/Home' | |
export ANT_HOME='/Developer/Java/ant' | |
# Ruby Enterprise Edition | |
alias ree="/opt/rubyee/bin/ruby" | |
alias rakee="/opt/rubyee/bin/rake" | |
alias gemee="sudo /opt/rubyee/bin/gem" | |
# Some helpful aliases | |
alias ls="ls -GF" | |
alias ll="ls -lhF" | |
alias apache2ctl='sudo /opt/local/apache2/bin/apachectl' | |
alias m="mate ." | |
alias rip="/Work/btv/btv.git/script/ripper/ripper" | |
alias ss="script/server" | |
alias s="RUBY_GC_MALLOC_LIMIT=64000000 ree `which spec` -c spec" | |
alias capl="cap loops deploy:lock MESSAGE='USE qa, not loops. loops is locked down permanently'" | |
# Some dir aliases | |
alias cds="cd /Work/scribd/scribd.git" | |
alias cdo="cd /Work/scribd/ops.git" | |
alias cdb="cd /Work/btv/btv.git" | |
# Some Git aliases | |
alias ga="git add" | |
alias gb="git branch" | |
alias gc="git checkout" | |
alias gd="git diff" | |
alias gci="git commit" | |
alias gg='git log --graph --pretty=format:"%Cred%h%Creset — %s %Cgreen(%cr)%Creset" --abbrev-commit --date=relative' | |
alias gl="git pull" | |
alias gm="git merge" | |
alias gp="git push" | |
alias gs="git status" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment