summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/git.plugin.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/git.plugin.zsh b/plugins/git.plugin.zsh
index e0d967056..655eaf728 100644
--- a/plugins/git.plugin.zsh
+++ b/plugins/git.plugin.zsh
@@ -29,3 +29,4 @@ function current_branch() {
# these aliases take advangate of the previous function
alias ggpull='git pull origin $(current_branch)'
alias ggpush='git push origin $(current_branch)'
+alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)' \ No newline at end of file