X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fcommon.alias;h=e62e2e31815fb15fd6f4d56a64696923871175dc;hb=5d3fd7dcc97f7a1087999878892bb87c0d2c64c8;hp=25c5f87fb56caee1ac4d2ec0e143161eb57fdf0f;hpb=cfb8799ca367a0cf16a2795483691136cb9735db;p=feisty_meow.git diff --git a/scripts/core/common.alias b/scripts/core/common.alias index 25c5f87f..e62e2e31 100644 --- a/scripts/core/common.alias +++ b/scripts/core/common.alias @@ -13,6 +13,12 @@ ############## +# make our functions available to the aliases. +#hmmm: should this be necessary? will it even work? +source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" + +############## + # 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. @@ -114,9 +120,6 @@ define_yeti_alias add_apache_site="sudo bash \$FEISTY_MEOW_SCRIPTS/system/add_ap 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" -# some site avenger sudoized aliases. -define_yeti_alias revamp_cakelampvm="sudo bash \"$FEISTY_MEOW_SCRIPTS/site_avenger/revamp_cakelampvm.sh\"" - ############## # extended aliases for meta-operations. @@ -129,12 +132,18 @@ define_yeti_alias play='bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh' # some really eccentric feisty meow aliases... +# launches a bash session in the background using the screen command. +define_yeti_alias bashido='screen -L -S bashido -d -m bash' + # says goodbye when leaving a shell. define_yeti_alias bye='. $FEISTY_MEOW_SCRIPTS/processes/goodbye.sh' + define_yeti_alias cputemp='acpi -t' + # makes root user's home directory's permissions right. define_yeti_alias reroot='chown -R root:root /root' -# yes, these are really helpful... + +# yes, these what/who/why functions are really helpful... define_yeti_alias whoareyou='echo -e "Hello, I am a computer named $(hostname)\nand I am very pleased to meet you."' define_yeti_alias whereami='echo whoa dude, try not to think about it...' define_yeti_alias why='echo We all wonder what the point of the universe is at times. If you figure it all out, please write us.'