mirror of
https://github.com/tedkulp/dotfiles
synced 2026-03-29 18:34:18 -04:00
* Add setopt for completion on aliases * Update vim config sha * Add grcl for cleaning up local branches based on purged remote branches * Remove hub alias (it was causing too many issues) * Updated Golang path
16 lines
318 B
Bash
16 lines
318 B
Bash
alias ghm='git push heroku master'
|
|
|
|
function grcl () {
|
|
local branch="${1:=master}"
|
|
|
|
git checkout $branch
|
|
git pull
|
|
git remote prune origin
|
|
git branch -avv | grep "gone]" | awk '{ print $1 }' | xargs git branch -d;
|
|
}
|
|
|
|
compdef _git grcl=git-checkout
|
|
|
|
# For "hub" http://hub.github.com/
|
|
# eval "$(hub alias -s)"
|