mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Merge fafdbb4def into 79196f8213
This commit is contained in:
commit
6dae62a657
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ function current_repository() {
|
|||
# these aliases take advantage of the previous function
|
||||
alias ggpull='git pull origin $(current_branch)'
|
||||
compdef ggpull=git
|
||||
alias ggpush!='git push origin $(current_branch) --force'
|
||||
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)'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue