X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fcommon.alias;h=7dc95071b977dc7a57e0f3a41821dd6796fd15ce;hb=70734afa93c099fa78a1e9d801d99685b7cd39d6;hp=aac26d5e3265d450a5591a50f78f89cdf03132cb;hpb=81df402f8973338ed74cc35810fd5e9202f0f88d;p=feisty_meow.git diff --git a/scripts/core/common.alias b/scripts/core/common.alias index aac26d5e..7dc95071 100644 --- a/scripts/core/common.alias +++ b/scripts/core/common.alias @@ -14,7 +14,6 @@ ############## # make our functions available to the aliases. -#hmmm: should this be necessary? will it even work? source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" ############## @@ -37,7 +36,7 @@ define_yeti_alias copy='\cp -i -v' define_yeti_alias cp='\cp -i -v' define_yeti_alias del='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl' define_yeti_alias deltree='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl' -define_yeti_alias df='\df -mh' +define_yeti_alias df='\df -h' define_yeti_alias dir='perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl' define_yeti_alias du='\du -h' define_yeti_alias erase='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl' @@ -47,11 +46,11 @@ if [ "$OS" != "Windows_NT" ]; then if [ -n "$IS_DARWIN" ]; then # case for mac os x. define_yeti_alias exp='open' - elif [ ! -z "$(which dolphin 2>/dev/null)" ]; then + elif [ ! -z "$(whichable dolphin)" ]; then # we prefer dolphin if available. define_yeti_alias exp='screen -L -S dolphin-$RANDOM -d -m dolphin ' #--select - elif [ ! -z "$(which nautilus 2>/dev/null)" ]; then + elif [ ! -z "$(whichable nautilus)" ]; then # launch nautilus if available. define_yeti_alias exp='nautilus' else @@ -132,6 +131,9 @@ 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' @@ -140,10 +142,6 @@ define_yeti_alias cputemp='acpi -t' # makes root user's home directory's permissions right. define_yeti_alias reroot='chown -R root:root /root' -# space 'em all fixes naming for all of the files of the appropriate types in the current directory. -define_yeti_alias spacemall="find . -maxdepth 1 -mindepth 1 -type f \( $(echo pdf png jpg jpeg odt ods docx m4a mp3 eml html mov pptx xlsx zip | sed -e 's/\([a-z0-9][a-z0-9]*\)/-iname \"*.\1\" -o /g') -iname \"*.txt\" \) -exec bash "$FEISTY_MEOW_SCRIPTS/files/spacem.sh" \"{}\" \; " -#2>> ~/.tmp/zz_spacem.log' - # 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...'