dotar/zsh/git.zsh
2017-08-19 13:58:34 +08:00

7 lines
264 B
Bash

# Makes git auto completion faster favouring for local completions
__git_files () {
_wanted files expl 'local files' _files
}
alias gfR='gf origin master; gwR origin/master'
alias gpb='git push --set-upstream origin "$(git-branch-current 2> /dev/null):build"'