Mercurial > ec-dotfiles
diff rc/bashrc @ 401:06e1821eacf5
Merge remote-tracking branch 'origin/master' into rhel5
author | Edho Arief <edho@myconan.net> |
---|---|
date | Tue, 04 Sep 2012 09:30:40 +0700 |
parents | 657f787fbae8 |
children | a23b0f6ee8a2 |
line wrap: on
line diff
--- a/rc/bashrc Wed Aug 01 15:28:42 2012 +0700 +++ b/rc/bashrc Tue Sep 04 09:30:40 2012 +0700 @@ -33,7 +33,7 @@ test -d /usr/pgsql-9.1 && PATH="/usr/pgsql-9.1/bin:${PATH}" # Nuke currently defined functions -unset -f $(set | egrep ' ()$' | cut -d ' ' -f 1) +unset -f $(set | grep ' \(\)$' | cut -d ' ' -f 1) # Nuke bash-completion complete -r @@ -214,8 +214,8 @@ fi if command -v less > /dev/null 2>&1; then - alias less="less -Rins" - export PAGER="less -Rins" + export PAGER=less + export LESS='-MRXgij15$nsz-2' fi # Test if we have GNU rm prefixed by g (esp if on non-GNU system).