Skip to content

Instantly share code, notes, and snippets.

@benbalter
Created January 24, 2013 16:13
Show Gist options
  • Save benbalter/4624142 to your computer and use it in GitHub Desktop.
Save benbalter/4624142 to your computer and use it in GitHub Desktop.
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
# Git
alias gs="git status"
alias ga="git add"
alias go="git checkout"
alias gc="git commit"
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
alias gp="git push"
alias gd="git diff"
source ~/git-completion.bash
#fasd
eval "$(fasd --init auto)"
alias j='fasd_cd -d'
#jekyll
alias jl="jekyll --url=http://localhost:4000"
alias jd="jekyll --no-server --no-auto"
#redis
alias rs="redis-server /usr/local/etc/redis.conf"
#wordpress testing
export WP_TESTS_DIR=~/projects/wordpress-tests
export WP_CORE_DIR=~/projects/wordpress
source ~/.bashrc
# {{{
# Node Completion - Auto-generated, do not touch.
shopt -s progcomp
for f in $(command ls ~/.node-completion); do
f="$HOME/.node-completion/$f"
test -f "$f" && . "$f"
done
# }}}
#grunt
alias g="grunt"
#subline
alias s="sublime"
alias sp="s ./"
function js() { j "$@" ; sp; }
export EDITOR='sublime -w'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment