X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fexamples%2Ffeisty_meow_startup%2Fbashrc_user;fp=scripts%2Fexamples%2Ffeisty_meow_startup%2Fbashrc_user;h=3e5f4a9123a287f5579341d73bb404cd7eadc2e7;hb=a1f3c65741691541c269f9e74626ac764e27cc03;hp=0000000000000000000000000000000000000000;hpb=457b128b77b5b4a0b7dd3094de543de2ce1477ad;p=feisty_meow.git diff --git a/scripts/examples/feisty_meow_startup/bashrc_user b/scripts/examples/feisty_meow_startup/bashrc_user new file mode 100644 index 00000000..3e5f4a91 --- /dev/null +++ b/scripts/examples/feisty_meow_startup/bashrc_user @@ -0,0 +1,22 @@ + +# 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 +# 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 +# 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 +fi +