comparison rc/bashrc @ 395:c01d272af466

Moved less configuration declaration to environment variable.
author Edho Arief <edho@myconan.net>
date Tue, 04 Sep 2012 10:22:46 +0700
parents 59dc2f13e0ae
children 657f787fbae8
comparison
equal deleted inserted replaced
364:7833673f4860 395:c01d272af466
189 alias vi=vim 189 alias vi=vim
190 export EDITOR=vim 190 export EDITOR=vim
191 fi 191 fi
192 192
193 if command -v less > /dev/null 2>&1; then 193 if command -v less > /dev/null 2>&1; then
194 alias less="less -Rins" 194 export PAGER=less
195 export PAGER="less -Rins" 195 export LESS='-MRXgij15$nsz-2'
196 fi 196 fi
197 197
198 rm -If "/tmp/.nonexistent.$(date '+%Y%m%d%H%M%S')" 2> /dev/null && alias rm="rm -I" 198 rm -If "/tmp/.nonexistent.$(date '+%Y%m%d%H%M%S')" 2> /dev/null && alias rm="rm -I"
199 199
200 [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after" 200 [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after"