[Assorted-commits] SF.net SVN: assorted: [727] shell-tools/trunk/src/bash-commons/bashrc.bash
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-05-08 08:36:51
|
Revision: 727 http://assorted.svn.sourceforge.net/assorted/?rev=727&view=rev Author: yangzhang Date: 2008-05-08 01:36:43 -0700 (Thu, 08 May 2008) Log Message: ----------- added custom valgrind (instead of using a non-preemptible valgrindrc in configs); still figuring out perl paths and manpaths Modified Paths: -------------- shell-tools/trunk/src/bash-commons/bashrc.bash Modified: shell-tools/trunk/src/bash-commons/bashrc.bash =================================================================== --- shell-tools/trunk/src/bash-commons/bashrc.bash 2008-05-08 08:35:45 UTC (rev 726) +++ shell-tools/trunk/src/bash-commons/bashrc.bash 2008-05-08 08:36:43 UTC (rev 727) @@ -110,6 +110,8 @@ # TODO fix this to not use an explicit ruby version prepend_std PATH bin sbin /sbin /usr/sbin /var/lib/gems/1.8/bin +# TODO fix this, things like /usr/local/ should get precedence over default +# locations prepend_std MANPATH man '' prepend_std INFOPATH info # TODO fix this to not use an explicit ruby version @@ -138,7 +140,7 @@ # perl -prepend_std PERL5LIB lib/perl5/site_perl +prepend_std PERL5LIB lib/perl5/site_perl lib/perl share/perl # python @@ -561,6 +563,17 @@ make -sj2 } +xvalgrind() { + valgrind \ + --track-fds=yes \ + --db-attach=yes \ + --verbose \ + --tool=memcheck \ + --leak-check=yes \ + --leak-resolution=high \ + --show-reachable=yes +} + #function set_title() { # if [ $# -eq 0 ] ; then # eval set -- "$PWD" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |