added pbs protection to keep scripts from running.
[feisty_meow.git] / scripts / examples / feisty_meow_startup / bashrc_user
index 3e5f4a9123a287f5579341d73bb404cd7eadc2e7..6c2b67f9ec1b78815a3465a64b9e42d03e9f0f10 100644 (file)
@@ -1,22 +1,20 @@
 
 # in addition to the .bashrc code that the operating system gives you,
-# you can add this file to your ~/.bashrc if you want the YETI scripts
+# 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!
 
 # note: it is useful to set your own NAME variable to identify who you are.
-# the yeti scripts will set up a bogus one for you otherwise.  in your home
+# 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'
 
 # don't bother running our stuff for a dumb terminal since any echo
-# can mess with an sftp connection, apparently.
-if [ ${TERM} != "dumb" ]; then
-  # make sure yeti code hasn't been explicitly disabled.
-  if [ -z "$NO_YETI" ]; then
-    # sets up the yeti scripts, using the default locations for all scripts.
-    source $HOME/yeti/scripts/core/profile.sh
-  fi
+# 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
+  # sets up the feisty_meow scripts, using the default locations for all scripts.
+  source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh
 fi