From b1ce4380ff40a840143f0f5d3c0d1a9e7c3eade6 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 12 Feb 2012 17:52:25 -0500 Subject: [PATCH] some nice cleaning in these example scripts. --- examples/feisty_meow_startup/bashrc_grover | 3 +++ examples/feisty_meow_startup/bashrc_root | 1 + examples/feisty_meow_startup/bashrc_user | 17 +++++++---------- .../feisty_meow_startup/bashrc_user_windoz | 18 ++---------------- 4 files changed, 13 insertions(+), 26 deletions(-) diff --git a/examples/feisty_meow_startup/bashrc_grover b/examples/feisty_meow_startup/bashrc_grover index 6eda65dd..15ab15c7 100644 --- a/examples/feisty_meow_startup/bashrc_grover +++ b/examples/feisty_meow_startup/bashrc_grover @@ -1,3 +1,6 @@ + +# grover is a sharp zaurus. this is pretty out of date. + export LC_ALL=C alias mc='mc -a' diff --git a/examples/feisty_meow_startup/bashrc_root b/examples/feisty_meow_startup/bashrc_root index a29ec0b2..c56a6a1c 100644 --- a/examples/feisty_meow_startup/bashrc_root +++ b/examples/feisty_meow_startup/bashrc_root @@ -1,3 +1,4 @@ + # added to root's ~/.bashrc, the fredme macro enables all the feisty_meow tools. alias fredme='source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh' diff --git a/examples/feisty_meow_startup/bashrc_user b/examples/feisty_meow_startup/bashrc_user index 6c2b67f9..e2c45acf 100644 --- a/examples/feisty_meow_startup/bashrc_user +++ b/examples/feisty_meow_startup/bashrc_user @@ -1,16 +1,13 @@ -# in addition to the .bashrc code that the operating system gives you, -# you can add this file to your ~/.bashrc if you want the feisty_meow scripts -# to be loaded up automatically. -# -# this is for normal users, not the root user! +# add this file to your ~/.bashrc if you want the feisty_meow scripts to be +# loaded up automatically. this assumes your default shell is bash. +# ** this is for normal users, not the root user. -# note: it is useful to set your own NAME variable to identify who you are. -# the feisty_meow scripts will set up a bogus one for you otherwise. in your home -# directory's .bashrc, you could add something like this, for example: -# export NAME='Doodmodeus Q. Nornberton' +# note: it is often useful to set the NAME variable to identify who you are. +# the scripts will set up a bogus one for you otherwise. for example: +# export NAME='Frunkooleon Q. Grendervasp' -# don't bother running our stuff for a dumb terminal since any echo +# don't bother running our stuff for dumb terminals, since any echo # can mess with an sftp or scp connection, apparently. similarly, we # don't want any automatic startup stuff if we are running under PBS. if [ "${TERM}" != "dumb" -a -z "$PBS_ENVIRONMENT" ]; then diff --git a/examples/feisty_meow_startup/bashrc_user_windoz b/examples/feisty_meow_startup/bashrc_user_windoz index 46dce184..bb73d005 100644 --- a/examples/feisty_meow_startup/bashrc_user_windoz +++ b/examples/feisty_meow_startup/bashrc_user_windoz @@ -1,22 +1,8 @@ -# in addition to the .bashrc code that the operating system gives you, -# you should added this file to your ~/.bashrc if you want the feisty_meow scripts -# to be loaded up. -# -# you also must run bootstrap_shells.sh if you've never used feisty_meow before. - -# note: it is useful to set your own NAME variable to identify who you are. -# the feisty_meow scripts will set up a bogus one for you otherwise. in your home -# directory's .bashrc, you could add something like this, for example: -#export NAME='Curmudgeon J. Wankslausteen' - -#export TMP=/h/tmp - -# add in some useful paths for the local machine. -export PATH=/bin:$PATH:/c/utilities/emacs-23.2/bin:/c/tools/cvsnt:/c/utilities/Vim/vim71:/c/system/Perl/site/bin:/c/system/Perl/bin:/c/tools/doxygen/bin:/c/tools/graphviz/Graphviz/bin +# example additions to make windoze not suck as much. +export PATH=/bin:$PATH:/d/utilities/emacs-23.2/bin:/d/utilities/vim/vim71:/d/system/perl/site/bin:/d/system/perl/bin:/d/tools/doxygen/bin:/d/tools/graphviz/Graphviz/bin if [ "${TERM}" != "dumb" -a -z "$PBS_ENVIRONMENT" ]; then source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh fi - -- 2.34.1