summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/key-bindings.zsh1
-rw-r--r--plugins/git/git.plugin.zsh8
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh
index 9f28d5761..9c2dda35a 100644
--- a/lib/key-bindings.zsh
+++ b/lib/key-bindings.zsh
@@ -21,6 +21,7 @@ bindkey ' ' magic-space # also do history expansion on space
bindkey '^[[Z' reverse-menu-complete
# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~
+bindkey '^?' backward-delete-char
bindkey "^[[3~" delete-char
bindkey "^[3;5~" delete-char
bindkey "\e[3~" delete-char
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index bc340e86b..3721d3343 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -27,11 +27,15 @@ alias gcp='git cherry-pick'
compdef _git gcp=git-cherry-pick
alias glg='git log --stat --max-count=5'
compdef _git glg=git-log
+alias glgg='git log --graph --max-count=5'
+compdef _git glgg=git-log
# Git and svn mix
alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
compdef git-svn-dcommit-push=git
+alias gsr='git svn rebase'
+alias gsd='git svn dcommit'
#
# Will return the current branch name
# Usage example: git pull origin $(current_branch)
@@ -45,6 +49,10 @@ function current_branch() {
alias ggpull='git pull origin $(current_branch)'
compdef ggpull=git
alias ggpush='git push origin $(current_branch)'
+<<<<<<< HEAD
compdef ggpush=git
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
compdef ggpnp=git
+=======
+alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
+>>>>>>> e5e032f... adding git svn aliases