# HG changeset patch # User Edho Arief # Date 1324745092 -25200 # Node ID 9d5247df20e91807ffbcd85bd0bda08a85494a6e # Parent 758dd58bb3cb77aee39735c6e28a733b5a1056cd# Parent 87ce8cfdb8d4c1fa2826f4be091c5c6e9dbd1aec Merge diff -r 87ce8cfdb8d4 -r 9d5247df20e9 rc/bash --- a/rc/bash Wed Dec 21 22:07:00 2011 +0700 +++ b/rc/bash Sat Dec 24 23:44:52 2011 +0700 @@ -21,13 +21,12 @@ export HISTFILESIZE=10000 export HISTCONTROL=ignoredups -export PAGER="less -Rins" -export EDITOR=vi +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 16 -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"