comparison 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
comparison
equal deleted inserted replaced
394:e0726df9196f 401:06e1821eacf5
31 # PostgreSQL Yum 31 # PostgreSQL Yum
32 test -d /usr/pgsql-8.4 && PATH="/usr/pgsql-8.4/bin:${PATH}" 32 test -d /usr/pgsql-8.4 && PATH="/usr/pgsql-8.4/bin:${PATH}"
33 test -d /usr/pgsql-9.1 && PATH="/usr/pgsql-9.1/bin:${PATH}" 33 test -d /usr/pgsql-9.1 && PATH="/usr/pgsql-9.1/bin:${PATH}"
34 34
35 # Nuke currently defined functions 35 # Nuke currently defined functions
36 unset -f $(set | egrep ' ()$' | cut -d ' ' -f 1) 36 unset -f $(set | grep ' \(\)$' | cut -d ' ' -f 1)
37 37
38 # Nuke bash-completion 38 # Nuke bash-completion
39 complete -r 39 complete -r
40 40
41 # Nuke aliases 41 # Nuke aliases
212 alias vi=vim 212 alias vi=vim
213 export EDITOR=vim 213 export EDITOR=vim
214 fi 214 fi
215 215
216 if command -v less > /dev/null 2>&1; then 216 if command -v less > /dev/null 2>&1; then
217 alias less="less -Rins" 217 export PAGER=less
218 export PAGER="less -Rins" 218 export LESS='-MRXgij15$nsz-2'
219 fi 219 fi
220 220
221 # Test if we have GNU rm prefixed by g (esp if on non-GNU system). 221 # Test if we have GNU rm prefixed by g (esp if on non-GNU system).
222 # Usually on old Solaris and {Net,Open,DragonFly}BSD. 222 # Usually on old Solaris and {Net,Open,DragonFly}BSD.
223 if command -v grm > /dev/null 2>&1; then 223 if command -v grm > /dev/null 2>&1; then