dotar/zsh/git.zsh
2017-09-04 17:15:34 +08:00

7 lines
249 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 origin "$(git-branch-current 2> /dev/null):build"'