export CLAM_FINISH_SOUND='/z/walrus/media/sounds/cartoons/meepmeep.wav'
# Setup for nethack adventure.
- export NETHACKOPTIONS='name:Manjusri-W,dogname:Fred,catname:Zonker'
+ export NETHACKOPTIONS="name:Manjusri-W,dogname:Fred,catname:Zonker"
# mail setup for home machines.
# export REPLYTO=fred@gruntose.com
##############
+# set the sentinel variable that says this file was handled.
+export CORE_ALIASES_LOADED=true
+
+##############
+
bash $FEISTY_MEOW_SCRIPTS/core/bootstrap_shells.sh
echo
# force a full reload by turning off sentinel variable and alias.
- unset NECHUNG function_sentinel
+ # the nethack one is used by fred's customizations.
+ # interesting note perhaps: found that the NETHACKOPTIONS variable was
+ # not being unset correctly when preceded by an alias. split them up
+ # like they are now due to that bug.
+ unset -v FEISTY_MEOW_GENERATED NECHUNG NETHACKOPTIONS
+ unset -f function_sentinel
# reload feisty meow environment in current shell.
- source ~/feisty_meow/scripts/core/launch_feisty_meow.sh
+ source $FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh
# run nechung oracle to give user a new fortune.
nechung
}
if [ ! -z "$SHELL_DEBUG" ]; then echo heavyweight login begins...; fi
# set up the aliases for the shell, but only if they are not already set.
- alias regenerate &>/dev/null # see if a crucial alias exists.
- if [ $? -ne 0 ]; then
+ if [ -z "$CORE_ALIASES_LOADED" ]; then
if [ ! -z "$SHELL_DEBUG" ]; then
echo the aliases were missing, now they are added...
fi
if [ ! -z "$SHELL_DEBUG" ]; then
echo "loading customization: $(basename $(dirname $i))/$(basename $i)"
fi
- source $i
+ source "$i"
done