comparison rc/bashrc @ 396:c555557692bc

Uses grep instead of egrep ...since the latter doesn't quite work in solaris.
author Edho Arief <edho@myconan.net>
date Sun, 12 Aug 2012 14:26:27 +0700
parents b25fff40927c
children 657f787fbae8
comparison
equal deleted inserted replaced
393:0aabb2b34ef6 396:c555557692bc
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