aboutsummaryrefslogtreecommitdiffstats
path: root/_zsh
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-06-24 16:14:05 +0800
committerAaron LI <aly@aaronly.me>2019-06-24 16:14:05 +0800
commitf09345b96d89c6af828c8e61c37980703919035b (patch)
tree1bbb7e8bbec2a809bef40dab28d801abc495b74e /_zsh
parent7c8a59f1d191d9e3aaba69d4a40a40db022b4601 (diff)
downloaddotfiles-f09345b96d89c6af828c8e61c37980703919035b.tar.bz2
zsh: Add vi alias and remove git aliases
Diffstat (limited to '_zsh')
-rw-r--r--_zsh/90-aliases.zsh9
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: #