From f09345b96d89c6af828c8e61c37980703919035b Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 24 Jun 2019 16:14:05 +0800 Subject: zsh: Add vi alias and remove git aliases --- _zsh/90-aliases.zsh | 9 +-------- 1 file changed, 1 insertion(+), 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: # -- cgit v1.2.2