From cf08fdb292fd8e18db67fed20a334bb22347bd7b Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 8 Apr 2016 12:45:58 +0900 Subject: [PATCH] Fix vi alias --- shrc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/shrc b/shrc index 531f1e6..3dc8cea 100755 --- a/shrc +++ b/shrc @@ -275,17 +275,12 @@ _timeformat_rfc2822="%a, %d %b %Y %T %z" _timeformat_num="%Y%m%d%H%M%S" alias datenum="date +$_timeformat_num" -if test -n "$_VI_ALT" -then - alias vi=$_VI_ALT - export EDITOR=$_VI_ALT -fi - # export GREP_OPTIONS="" alias gr="grep -n --color=always" $iswindows && alias gr="grep -n" alias less="less -F" __safe_alias em="emacs -nw" +test -n "$_VI_ALT" && alias vi=$_VI_ALT alias pstree="LANG=C pstree" alias cp="cp -v" alias mv="mv -v"