diff 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
line wrap: on
line diff
--- a/rc/bashrc	Wed Aug 01 15:17:56 2012 +0700
+++ b/rc/bashrc	Sun Aug 12 14:26:27 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