From 7621a6db6b377e7bfb7e2f758a7dc3ff187ea179 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 2 May 2016 15:32:03 +0800 Subject: _zsh: add handy git aliases --- _zsh/90-aliases.zsh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/_zsh/90-aliases.zsh b/_zsh/90-aliases.zsh index a530fba..22e2486 100644 --- a/_zsh/90-aliases.zsh +++ b/_zsh/90-aliases.zsh @@ -12,8 +12,6 @@ alias d='dirs -v | head -10' alias po=popd alias pu=pushd -#alias history='fc -l 1' - alias ls='ls --color=auto' alias l='ls -lah' alias la='ls -lAh' @@ -22,4 +20,10 @@ alias lsa='ls -lah' alias grep='grep --color=auto' +# git +alias gita='git add' +alias gitc='git commit' +alias gitd='git diff' +alias gits='git status' + # vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: # -- cgit v1.2.2