X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=customizing%2Ffred%2Ffred_common.alias;h=af6629c2c7769868886198e720bd5f8fcf65b533;hb=ab6bacb578744ce2a0132af78fbf5dc461cf00d3;hp=ea832f204b8029081d61b01da072b23b569aadc2;hpb=4808a5b08e7dcb7c42ddb3e7595e8282b1c4eeb1;p=feisty_meow.git diff --git a/customizing/fred/fred_common.alias b/customizing/fred/fred_common.alias index ea832f20..af6629c2 100644 --- a/customizing/fred/fred_common.alias +++ b/customizing/fred/fred_common.alias @@ -4,11 +4,23 @@ # moo and unmoo mount the local folders i use most. alias moo='check_mount /z/stuffing ; check_mount /z/walrus ; check_mount /z/chunky ; check_mount /z/fredgrid' -alias unmoo='umount /z/stuffing ; umount /z/walrus ; umount /z/chunky ; umount /z/fredgrid' - -# cleans up the ownership for all my files. -#moved alias refred='(chown -R fred:fred /home/fred /home/games /home/archives ; normal_perm /var/log )' +alias unmoo='sudo umount /z/stuffing ; sudo umount /z/walrus ; sudo umount /z/chunky ; sudo umount /z/fredgrid' # load in the xsede build scripts. source "$FEISTY_MEOW_SCRIPTS/buildor/build_xsedes.sh" +# just shows a separator line for an 80 column console, or uses the first +# parameter as the number of columns to expect. +function line() +{ + count=$1; shift + if [ -z "$count" ]; then + count=80 + fi + echo + for ((i=0; i < $count - 1; i++)); do + echo -n "=" + done + echo + echo +}