| @@ -32,6 +32,7 @@ then | |||||
| else | else | ||||
| export PAGER="less" | export PAGER="less" | ||||
| fi | fi | ||||
| export LESS="-iRMX" | |||||
| if false null type vim | if false null type vim | ||||
| then | then | ||||
| @@ -69,19 +70,14 @@ elif echo "$EMACS" | grep term >/dev/null 2>&1; then # for emacs term | |||||
| echo "Emacs Term" | echo "Emacs Term" | ||||
| fi | fi | ||||
| # if test -f /etc/issue | |||||
| # then | |||||
| # cat /etc/issue | |||||
| # fi | |||||
| ################################### | ################################### | ||||
| # some aliases and functions | # some aliases and functions | ||||
| test "$TERM" == dumb || _ENABLECOLOR="--color=always " | |||||
| test "$TERM" == dumb || _coloroption=" --color=always" | |||||
| export LESS="-iRMX" | |||||
| export GREP_OPTIONS="${_ENABLECOLOR}" | |||||
| alias ls="ls -hCF ${_ENABLECOLOR}--time-style=long-iso" | |||||
| alias ls="ls -hCF --time-style=long-iso${_coloroption}" | |||||
| # export GREP_OPTIONS="" | |||||
| alias grep="grep${_coloroption}" | |||||
| # alias ll="ls -l" | # alias ll="ls -l" | ||||
| # alias la="ls -A" | # alias la="ls -A" | ||||
| # alias lla="ls -Al" | # alias lla="ls -Al" | ||||
| @@ -123,8 +119,8 @@ null type pacman-color && { | |||||
| export PACMAN=pacman-color # used by yaourt | export PACMAN=pacman-color # used by yaourt | ||||
| } | } | ||||
| null type pacmatic && { | null type pacmatic && { | ||||
| alias pacman=pacmatic | |||||
| export PACMAN=pacmatic | |||||
| alias pacman="pacmatic" | |||||
| export PACMAN="pacmatic" | |||||
| } | } | ||||
| alias ubuntu-upgrade="sudo apt-get autoremove --yes && sudo apt-get update --yes && sudo apt-get upgrade --yes" | alias ubuntu-upgrade="sudo apt-get autoremove --yes && sudo apt-get update --yes && sudo apt-get upgrade --yes" | ||||