X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fcommon.alias;h=af3378bf62124599f4b6702cbd91483f6d5c262c;hb=7b97005b270d19c2d037e283801758c337a9d65a;hp=41cebeaf53ebd787036959dde7811c4d757aeba9;hpb=897562f82cf6406cdaab8b6f0bba857999a672e5;p=feisty_meow.git diff --git a/scripts/core/common.alias b/scripts/core/common.alias index 41cebeaf..af3378bf 100644 --- a/scripts/core/common.alias +++ b/scripts/core/common.alias @@ -9,7 +9,21 @@ # Feel free to send updates to: [ fred@gruntose.com ] ############## -# a list of core aliases for feisty meow codebase. +# this file provides a list of core aliases for feisty meow codebase. + +############## + +# call the generated aliases file, if it exists. +# we do this first so that our core aliases get a chance to override the aliases +# based on scripts. + +if [ -f "$FEISTY_MEOW_LOADING_DOCK/fmc_aliases_for_scripts.sh" ]; then + if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then echo loading script aliases...; fi + source "$FEISTY_MEOW_LOADING_DOCK/fmc_aliases_for_scripts.sh" + if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then echo done loading script aliases.; fi +fi + +############## # repurposes certain commands that feisty meow does a little differently. define_yeti_alias cls='clear_colormap; clear' @@ -118,15 +132,6 @@ define_yeti_alias why='echo We all wonder what the point of the universe is at t ############## -# call the generated aliases file, if it exists. -if [ -f "$FEISTY_MEOW_LOADING_DOCK/fmc_aliases_for_scripts.sh" ]; then - if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then echo loading script aliases...; fi - source "$FEISTY_MEOW_LOADING_DOCK/fmc_aliases_for_scripts.sh" - if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then echo done loading script aliases.; fi -fi - -############## - # remove the fredization macro if it was defined, helping to avoid running # the shell scripts twice for users like root that don't always load this # stuff.