summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <curtis.mcenroe@adgear.com>2017-01-20 14:39:38 -0500
committerJune McEnroe <curtis.mcenroe@adgear.com>2017-01-20 14:39:38 -0500
commit635bfb674577357b7895bf2d2413c3b65d0d1447 (patch)
tree681d5859f69a614d6076e35a19e88d2327398e14
parentClean up zshrc (diff)
downloadsrc-635bfb674577357b7895bf2d2413c3b65d0d1447.tar.gz
src-635bfb674577357b7895bf2d2413c3b65d0d1447.zip
Group git aliases
Diffstat (limited to '')
-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() {