summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-01-20 14:39:38 -0500
committerJune McEnroe <june@causal.agency>2017-01-20 14:39:38 -0500
commit57f47f643116ed2a454c3ee6c1a8d22e41f1709f (patch)
treefb92be1329e07066ab1a8368056708dac36e5a00
parentClean up zshrc (diff)
downloadsrc-57f47f643116ed2a454c3ee6c1a8d22e41f1709f.tar.gz
src-57f47f643116ed2a454c3ee6c1a8d22e41f1709f.zip
Group git aliases
-rw-r--r--.zshrc28
1 files changed, 7 insertions, 21 deletions
diff --git a/.zshrc b/.zshrc
index be70cd78..de0d88a4 100644
--- a/.zshrc
+++ b/.zshrc
@@ -27,27 +27,13 @@ export CLICOLOR=1
 [ "$OSTYPE" = 'linux-gnu' ] \
   && alias ls='ls --color=auto' grep='grep --color' rm='rm -I'
 
-alias ga='git add'
-alias gb='git branch'
-alias gc='git commit'
-alias gca='git commit --amend'
-alias gco='git checkout'
-alias gd='git diff'
-alias gf='git fetch'
-alias gl='git log --graph --pretty=log'
-alias gm='git merge'
-alias gmv='git mv'
-alias gp='git push'
-alias gr='git rebase'
-alias gra='git rebase --abort'
-alias grc='git rebase --continue'
-alias grm='git rm'
-alias grs='git rebase --skip'
-alias gs='git status --short --branch'
-alias gsh='git show'
-alias gst='git stash'
-alias gt='git tag'
-alias gu='git pull'
+alias gs='git status --short --branch' gd='git diff'
+alias gsh='git show' gl='git log --graph --pretty=log'
+alias gco='git checkout' gb='git branch' gm='git merge' gst='git stash'
+alias ga='git add' gmv='git mv' grm='git rm'
+alias gc='git commit' gca='gc --amend' gt='git tag'
+alias gp='git push' gu='git pull' gf='git fetch'
+alias gr='git rebase' gra='gr --abort' grc='gr --continue' grs='gr --skip'
 
 setopt prompt_subst
 _prompt_git() {