X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fcommon.alias;h=ea90610816a72a18576c0566b794bb1d20748916;hb=e768391ab81b189397f0fd19827999365f8b3e33;hp=e15541526878d62d4f551cff3da238b860a05d0d;hpb=1622e38a1cb487dfd4000376792fb7ff718de8d1;p=feisty_meow.git diff --git a/scripts/core/common.alias b/scripts/core/common.alias index e1554152..ea906108 100644 --- a/scripts/core/common.alias +++ b/scripts/core/common.alias @@ -55,9 +55,11 @@ fi # re-use work we did on 'exp' macro for the longer windows command. define_yeti_alias explorer=exp define_yeti_alias fix_ssh_perms='chmod 700 $HOME/.ssh ; chmod 600 $HOME/.ssh/*' +define_yeti_alias get_feisty='rpuffer $FEISTY_MEOW_APEX; regenerate' define_yeti_alias halt='sudo shutdown -h now' define_yeti_alias i=inventory define_yeti_alias l='perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl' +define_yeti_alias ll='ls_dot_add=-a perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl' define_yeti_alias ls='ls -HhFC $color_add' define_yeti_alias lsd='ls -hl' define_yeti_alias md='mkdir' @@ -83,7 +85,7 @@ define_yeti_alias lesser='bash $FEISTY_MEOW_SCRIPTS/files/lesser.sh' # some aliases that are just generally nice to have. define_yeti_alias aliases=alias -define_yeti_alias calc='kcalc' +define_yeti_alias calc='galculator' define_yeti_alias cd..='\cd ..' define_yeti_alias cd...='\cd ../..' define_yeti_alias cd....='\cd ../../..' @@ -102,7 +104,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 snarf_linux_config="sudo -E PERLLIB=\$PERLLIB perl \$FEISTY_MEOW_SCRIPTS/archival/snarf_linux_config.pl" -#no, does its own sudo wrangling.edefine_yeti_alias standup="sudo bash \"$FEISTY_MEOW_SCRIPTS/site_avenger/standup.sh\"" +define_yeti_alias add_domain="sudo bash \$FEISTY_MEOW_SCRIPTS/system/add_domain.sh" +define_yeti_alias remove_domain="sudo bash \$FEISTY_MEOW_SCRIPTS/system/remove_domain.sh" +define_yeti_alias add_apache_site="sudo bash \$FEISTY_MEOW_SCRIPTS/system/add_apache_site.sh" +define_yeti_alias remove_apache_site="sudo bash \$FEISTY_MEOW_SCRIPTS/system/remove_apache_site.sh" +define_yeti_alias add_swap_mount="sudo bash \$FEISTY_MEOW_SCRIPTS/system/add_swap_mount.sh" #hmmm: some magma intrusions from the fred customizations... define_yeti_alias revamp_cakelampvm="sudo bash \"$FEISTY_MEOW_SCRIPTS/site_avenger/revamp_cakelampvm.sh\"" @@ -133,16 +139,10 @@ define_yeti_alias why='echo We all wonder what the point of the universe is at t ############## -# 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. -unalias fredme &>/dev/null -unalias feistyme &>/dev/null - -############## - -# set the sentinel alias that says this file was handled. -#alias CORE_ALIASES_LOADED=true +# remove the "fredization" or "feistymeowization" macros if they're defined, +# which reduces the chance of loading the shell environment twice for users +# like root that don't load feisty meow automatically. +unalias fredme feistyme &>/dev/null ##############