diff options
author | Aaron LI <aaronly.me@gmail.com> | 2016-05-02 15:32:03 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@gmail.com> | 2016-05-02 15:32:03 +0800 |
commit | 7621a6db6b377e7bfb7e2f758a7dc3ff187ea179 (patch) | |
tree | 06b5456faa45c043b82c4a64459b281439e5b6a6 /_zsh | |
parent | 0a4f54e453d481e2ad58a4fd93549df8e6f013e8 (diff) | |
download | dotfiles-7621a6db6b377e7bfb7e2f758a7dc3ff187ea179.tar.bz2 |
_zsh: add handy git aliases
Diffstat (limited to '_zsh')
-rw-r--r-- | _zsh/90-aliases.zsh | 8 |
1 files 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: # |