fixed alias issues for subshells!
[feisty_meow.git] / scripts / core / launch_feisty_meow.sh
index b3d52052f8f5d9a70871ff7963d3b042c85e5673..9bbcec146ac265972b2ef78acd169b6d7512e29c 100644 (file)
@@ -95,7 +95,8 @@ if [ -z "$LIGHTWEIGHT_INIT" ]; then
   if [ ! -z "$SHELL_DEBUG" ]; then echo "heavyweight init begins..."; fi
 
   # set up the aliases for the shell, but only if they are not already set.
-  if [ -z "$CORE_ALIASES_LOADED" ]; then
+  type CORE_ALIASES_LOADED &>/dev/null
+  if [ $? -ne 0 ]; then
     if [ ! -z "$SHELL_DEBUG" ]; then
       echo "the aliases were missing, now they are being added..."
     fi