X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fcore%2Fcommon.alias;h=3ce57ec6f218d4b10a224267c8f80e955ca91261;hb=a1060079c4d4c9ddd9b159dbbb03591c9cbceac6;hp=03421eb33cb5cd3ea2248f4159ea96160f7fa202;hpb=a1e68cb2086fa04ea39714ddea2414ed139a86c1;p=feisty_meow.git diff --git a/scripts/core/common.alias b/scripts/core/common.alias index 03421eb3..3ce57ec6 100644 --- a/scripts/core/common.alias +++ b/scripts/core/common.alias @@ -9,12 +9,7 @@ # Feel free to send updates to: [ fred@gruntose.com ] ############## -# common aliases for feisty_meow are located here. -# most of these should work in any bash environment... -# although some may require more than bash, like the aliases -# that invoke perl scripts. - -############## +# a list of core aliases for feisty meow codebase. # repurposes certain commands that feisty meow does a little differently. alias cls='clear_colormap; clear' @@ -23,11 +18,12 @@ alias cp='\cp -i -v ' alias cvs='perl $FEISTY_MEOW_SCRIPTS/rev_control/cvs_fix.pl' alias del='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl' alias deltree='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl' -alias df='\df -m' +alias df='\df -mh' alias dir='perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl' alias du='\du -h' alias erase='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl' -# elaborate replacement for explorer command, which we shorten to exp. +# elaborate replacement for filesystem explorer command, which we have +# shortened to "exp". if [ "$OS" != "Windows_NT" ]; then if [ -n "$IS_DARWIN" ]; then # case for mac os x. @@ -43,11 +39,12 @@ else # windows gets routed to our helpful script instead. alias exp="bash $FEISTY_MEOW_SCRIPTS/winders/exploder.sh" fi -# re-use work we did on 'exp' macro for longer command. +# re-use work we did on 'exp' macro for the longer windows command. alias explorer=exp -alias l='\ls -FC $color_add' -alias ls='\ls -FC $color_add' -alias lsd='ls -l' +alias i=inventory +alias l='perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl' +alias ls='ls -HhFC $color_add' +alias lsd='ls -hl' alias md='mkdir' alias more='less' alias move='mv -i -v ' @@ -58,6 +55,7 @@ alias rd='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl' alias ren='\mv -v -i ' alias rm='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl' alias rmdir='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl' +alias s='echo "##############"' alias path='echo $PATH' alias whence=which @@ -78,6 +76,7 @@ alias up='cd ..' # extended aliases for meta-operations. alias dvd_rip='vobcopy -m' +alias blu_rip='echo "what would this command be?"' alias mplayer='\mplayer -ao arts' alias play='bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh' @@ -88,13 +87,12 @@ alias play='bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh' # says goodbye when leaving a shell. alias bye='. $FEISTY_MEOW_SCRIPTS/users/goodbye.sh' alias cputemp='acpi -t' -# redoes fred's set of custom scripts. -alias recustomize='regenerate &>/dev/null; echo "copying custom overrides for fred..."; cpdiff $FEISTY_MEOW_DIR/examples/custom_overrides/fred $FEISTY_MEOW_GENERATED/custom; regenerate' # makes root user's home directory's permissions right. alias reroot='chown -R root:root /root' # yes, these are really helpful... +alias whoareyou='echo -e "Hello, I am a computer named $(hostname)\nand I'\''m very pleased to meet you."' alias whereami='echo whoa dude, try not to think about it...' -alias why='echo just because.' +alias why='echo We all wonder what the point of the universe is at times. If you figure it all out, please write us.' # done with loading up regular aliases now... @@ -116,3 +114,8 @@ unalias fredme &>/dev/null ############## +# set the sentinel variable that says this file was handled. +export CORE_ALIASES_LOADED=true + +############## +