|
@@ -275,12 +275,23 @@ _timeformat_rfc2822="%a, %d %b %Y %T %z" |
|
|
_timeformat_num="%Y%m%d%H%M%S" |
|
|
_timeformat_num="%Y%m%d%H%M%S" |
|
|
alias datenum="date +$_timeformat_num" |
|
|
alias datenum="date +$_timeformat_num" |
|
|
|
|
|
|
|
|
|
|
|
if null type nvim |
|
|
|
|
|
then |
|
|
|
|
|
export EDITOR=nvim |
|
|
|
|
|
elif null type vim |
|
|
|
|
|
then |
|
|
|
|
|
export EDITOR=vim |
|
|
|
|
|
elif null type vi |
|
|
|
|
|
then |
|
|
|
|
|
export EDITOR=vi |
|
|
|
|
|
fi |
|
|
|
|
|
test -n "$EDITOR" && alias vi=$EDITOR |
|
|
|
|
|
|
|
|
# export GREP_OPTIONS="" |
|
|
# export GREP_OPTIONS="" |
|
|
alias gr="grep -n --color=always" |
|
|
alias gr="grep -n --color=always" |
|
|
$iswindows && alias gr="grep -n" |
|
|
$iswindows && alias gr="grep -n" |
|
|
alias less="less -F" |
|
|
alias less="less -F" |
|
|
__safe_alias em="emacs -nw" |
|
|
__safe_alias em="emacs -nw" |
|
|
__safe_alias vi=vim |
|
|
|
|
|
alias pstree="LANG=C pstree" |
|
|
alias pstree="LANG=C pstree" |
|
|
alias cp="cp -v" |
|
|
alias cp="cp -v" |
|
|
alias mv="mv -v" |
|
|
alias mv="mv -v" |
|
|