mirror of
https://github.com/tedkulp/dotfiles
synced 2026-04-17 21:44:30 -04:00
Various changes
* 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
This commit is contained in:
@@ -1 +1,2 @@
|
||||
alias fcq="fleetctl --endpoint=http://192.168.3.32:4001 "
|
||||
alias ecq="etcdctl --peers=192.168.3.32:4001 "
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
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)"
|
||||
# eval "$(hub alias -s)"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export GOPATH=/Users/tedkulp/go:/Users/tedkulp
|
||||
export GOPATH=/Users/tedkulp/src/go
|
||||
export PATH=$PATH:$GOPATH/bin
|
||||
|
||||
Reference in New Issue
Block a user