# HG changeset patch # User Edho Arief # Date 1344756387 -25200 # Node ID c555557692bcdcb2b1f9db637129443425a48d20 # Parent 0aabb2b34ef66e492cc0d2e9ae057ec394d6aa7a Uses grep instead of egrep ...since the latter doesn't quite work in solaris. diff -r 0aabb2b34ef6 -r c555557692bc rc/bashrc --- 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