# HG changeset patch # User Edho Arief # Date 1328750989 -25200 # Node ID 4c941687b76b94682f15e26232d4917d4886d4b6 # Parent 7251d4f5e5c94aaa3a5684e2bcc9e5323fcf7e68# Parent 0f46455257be95be12d06bac28c7ea2cb6b8e915 Merge. diff -r 0f46455257be -r 4c941687b76b rc/bash --- a/rc/bash Thu Feb 09 00:12:13 2012 +0700 +++ b/rc/bash Thu Feb 09 08:29:49 2012 +0700 @@ -21,13 +21,12 @@ export HISTFILESIZE=10000 export HISTCONTROL=ignoredups -export PAGER="less -Rins" +export PAGER=more export EDITOR=vi export LANG="en_US.UTF-8" export CLICOLOR= export LSCOLORS=ExGxFxdxCxegedabagExEx -alias less="less -Rins" alias ls="ls -F" alias rm="rm -i" alias rd="rdesktop -g 1280x600 -K -a 15 -x m -z -P -r sound:off -r clipboard:CLIPBOARD -5" @@ -167,6 +166,11 @@ export EDITOR=vim fi +if command -v less > /dev/null 2>&1; then + alias less="less -Rins" + export PAGER="less -Rins" +fi + rm -If "/tmp/.nonexistent.$(date '+%Y%m%d%H%M%S')" 2> /dev/null && alias rm="rm -I" [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after"