X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fconnect_feisty_meow.sh;h=211bba7b975b06a7fe74da328e71d2e0cfceb8e4;hb=2e93c29a45ae9d58694c0de962151e6829739380;hp=6a226b8dfe3e8c15b4c670e084a2f89154922c58;hpb=1622e38a1cb487dfd4000376792fb7ff718de8d1;p=feisty_meow.git diff --git a/scripts/core/connect_feisty_meow.sh b/scripts/core/connect_feisty_meow.sh index 6a226b8d..211bba7b 100644 --- a/scripts/core/connect_feisty_meow.sh +++ b/scripts/core/connect_feisty_meow.sh @@ -5,9 +5,9 @@ # this script adds the feisty inits code to .bashrc, if we think it has not yet been added. # auto-locate the feisty meow scripts, since they supposedly are not enabled yet. -export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory. +export THISDIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory. # normalize the path we want to cobble together. -export FEISTY_MEOW_APEX="$( \cd "$WORKDIR/../.." && \pwd )" +export FEISTY_MEOW_APEX="$( \cd "$THISDIR/../.." && \pwd )" echo calculated apex as $FEISTY_MEOW_APEX @@ -27,10 +27,12 @@ else >> "$HOME/.bashrc" echo "Feisty Meow is now configured in '~/.bashrc' for standard users." else - # stuff the root user init file into .bashrc. this one doesn't automatically load - # feisty meow. instead, it provides a fredme macro to load the feisty meow scripts. - # fredme comes from the main author being fred t. hamster. we have since added a - # feistyme macro too, to be less personalized... + # stuff the root user init file into .bashrc. this one doesn't + # automatically load the feisty meow scripts. instead, there is a macro + # (uhh, an alias) that loads the feisty meow scripts. the 'fredme' macro + # comes from the main author of feisty meow, named fred t. hamster. we + # have since added a 'feistyme' macro too, to be slightly less + # idiosyncratic, as if that were possible. cat $FEISTY_MEOW_APEX/infobase/feisty_inits/dot.bashrc-root | sed -e \ "s?FEISTY_MEOW_APEX=\".*\"?FEISTY_MEOW_APEX=\"$FEISTY_MEOW_APEX\"?" \