diff options
author | Aaron LI <aly@aaronly.me> | 2019-06-24 16:14:05 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-06-24 16:14:05 +0800 |
commit | f09345b96d89c6af828c8e61c37980703919035b (patch) | |
tree | 1bbb7e8bbec2a809bef40dab28d801abc495b74e | |
parent | 7c8a59f1d191d9e3aaba69d4a40a40db022b4601 (diff) | |
download | dotfiles-f09345b96d89c6af828c8e61c37980703919035b.tar.bz2 |
zsh: Add vi alias and remove git aliases
-rw-r--r-- | _zsh/90-aliases.zsh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/_zsh/90-aliases.zsh b/_zsh/90-aliases.zsh index dc29be0..ac140b3 100644 --- a/_zsh/90-aliases.zsh +++ b/_zsh/90-aliases.zsh @@ -25,14 +25,7 @@ alias lsa='ls -lah' # Do not use `GREP_OPTIONS` alias grep='grep --color=auto' -# Git -alias gita='git add' -alias gitc='git commit' -alias gitd='git diff' -alias gitl='git log' -alias gits='git status' -alias gitsl='git shortlog' - +exists "vi" || alias vi=vim exists "safe-rm" && alias rm=safe-rm # vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: # |