X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fcommon.alias;h=4fa4175927ba98537e8a2278b5475a813f9acc44;hb=e38bd22e02214e0b4ee037ff5f03db3521d55a48;hp=9d4049e5d253fade8e7cd2a325a24c5b94004d18;hpb=364fcf1aa0ca811c4efce1e29e4ac69b2405af5a;p=feisty_meow.git diff --git a/scripts/core/common.alias b/scripts/core/common.alias index 9d4049e5..4fa41759 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' @@ -87,10 +101,11 @@ define_yeti_alias feisty_branch='pushd $FEISTY_MEOW_APEX ; git branch ; popd' # some important retreads on aliases that provide a sudo-ized version of other scripts. -define_yeti_alias standup="bash \"$FEISTY_MEOW_SCRIPTS/site_avenger/standup.sh\"" +define_yeti_alias snarf_linux_config="sudo -E PERLLIB=\$PERLLIB perl \$FEISTY_MEOW_SCRIPTS/archival/snarf_linux_config.pl" +define_yeti_alias standup="sudo bash \"$FEISTY_MEOW_SCRIPTS/site_avenger/standup.sh\"" #hmmm: some magma intrusions from the fred customizations... -define_yeti_alias revamp_web_permissions="bash \"$FEISTY_MEOW_SCRIPTS/customize/fred/scripts/cakelampvm/revamp_web_permissions.sh" +define_yeti_alias revamp_web_permissions="sudo bash \"$FEISTY_MEOW_SCRIPTS/customize/fred/scripts/cakelampvm/revamp_web_permissions.sh" ############## @@ -118,15 +133,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.