mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Merge cf1799dc0e into 7004ac9ec4
This commit is contained in:
commit
816347730b
3 changed files with 8 additions and 26 deletions
|
|
@ -69,9 +69,9 @@ function current_repository() {
|
|||
}
|
||||
|
||||
# these aliases take advantage of the previous function
|
||||
alias ggpull='git pull origin $(current_branch)'
|
||||
alias ggpull='git pull origin --rebase $(current_branch)'
|
||||
compdef ggpull=git
|
||||
alias ggpush='git push origin $(current_branch)'
|
||||
compdef ggpush=git
|
||||
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
|
||||
alias ggpnp='git pull origin --rebase $(current_branch) && git push origin $(current_branch)'
|
||||
compdef ggpnp=git
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue