dotar/zsh/git.zsh

9 lines
364 B
Bash
Raw Normal View History

# Makes git auto completion faster favouring for local completions
__git_files () {
_wanted files expl 'local files' _files
}
2017-03-21 11:49:16 +08:00
alias gfR='gf origin master; gwR origin/master'
2017-09-04 17:15:34 +08:00
alias gpb='git push origin "$(git-branch-current 2> /dev/null):build"'
alias gitUserRallet="git config user.name rallets;git config user.email rallet@rallets.com"
alias gfs="gs;gfr;gsp"