From: martinahansen Date: Thu, 17 Jul 2008 04:20:43 +0000 (+0000) Subject: fixing bashrc X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=abcfd5c694b78fc14e5589ac0dc8dbc0a3c6e59c;p=biopieces.git fixing bashrc git-svn-id: http://biopieces.googlecode.com/svn/trunk@169 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_conf/bashrc b/bp_conf/bashrc deleted file mode 100644 index c7557d9..0000000 --- a/bp_conf/bashrc +++ /dev/null @@ -1,32 +0,0 @@ -### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< - -### Stuff that enables biopieces. - -### BP_DIR, BP_DATA and BP_TMP should all be set in ~/.bashrc -### see http://code.google.com/p/biopieces/wiki/Installation - -### The below bin directory should hold biopiece executables - regardsles of programming language. - -export BP_BIN="$BP_DIR/bp_bin" # Directory with biopiece executables. - -### The following directories hold the biopiece libraries, modules, gems, etc - one per programming language. - -export BP_PERL="$BP_DIR/code_perl" # Direcotry with Perl code. -export BP_C="$BP_DIR/code_c" # Direcotry with c code. -export BP_PYTHON="$BP_DIR/code_python" # Direcotry with Pyton code. -export BP_RUBY="$BP_DIR/code_ruby" # Direcotry with Ruby code. - -### Here we add the biopiece variable to the existing PATH and PERL5LIB variables. - -export PATH="$PATH:$BP_BIN" -export PERL5LIB="$PERL5LIB:$BP_PERL" - -### Alias allowing power scripting with biopieces. - -alias bioscript="perl -MMaasha::Biopieces=read_stream,get_record,put_record -e" - - -### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< - - -### Martin A. Hansen, June 2008 diff --git a/bp_conf/bashrc.template b/bp_conf/bashrc.template new file mode 100644 index 0000000..c7557d9 --- /dev/null +++ b/bp_conf/bashrc.template @@ -0,0 +1,32 @@ +### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< + +### Stuff that enables biopieces. + +### BP_DIR, BP_DATA and BP_TMP should all be set in ~/.bashrc +### see http://code.google.com/p/biopieces/wiki/Installation + +### The below bin directory should hold biopiece executables - regardsles of programming language. + +export BP_BIN="$BP_DIR/bp_bin" # Directory with biopiece executables. + +### The following directories hold the biopiece libraries, modules, gems, etc - one per programming language. + +export BP_PERL="$BP_DIR/code_perl" # Direcotry with Perl code. +export BP_C="$BP_DIR/code_c" # Direcotry with c code. +export BP_PYTHON="$BP_DIR/code_python" # Direcotry with Pyton code. +export BP_RUBY="$BP_DIR/code_ruby" # Direcotry with Ruby code. + +### Here we add the biopiece variable to the existing PATH and PERL5LIB variables. + +export PATH="$PATH:$BP_BIN" +export PERL5LIB="$PERL5LIB:$BP_PERL" + +### Alias allowing power scripting with biopieces. + +alias bioscript="perl -MMaasha::Biopieces=read_stream,get_record,put_record -e" + + +### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< + + +### Martin A. Hansen, June 2008