Skip to content

Instantly share code, notes, and snippets.

@KevinGreene
Created April 15, 2014 14:30
Show Gist options
  • Select an option

  • Save KevinGreene/10737260 to your computer and use it in GitHub Desktop.

Select an option

Save KevinGreene/10737260 to your computer and use it in GitHub Desktop.
Custom things to add to zshrc
bindkey -e
bindkey '^[[1;9C' forward-word
bindkey '^[[1;9D' backward-word
alias rake='noglob rake'
grebase() {local GIT_BRANCH=$(git symbolic-ref --short HEAD); git checkout develop; git pull origin develop; git checkout ${GIT_BRANCH#}; git rebase develop;}
ghpr() {local GIT_BRANCH=$(git symbolic-ref --short HEAD); hub pull-request -b Spantree:develop -h Spantree:${GIT_BRANCH#};}
alias tree="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment