changeset 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 0aabb2b34ef6
children 6a62f8641c4f
files rc/bashrc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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