improved spacem method to handle unwritable names better (where perl was not happy...
[feisty_meow.git] / customizing / fred / fred_common.alias
index ea832f204b8029081d61b01da072b23b569aadc2..743634a647f83704ea59ec209fa38ac491f3d7a8 100644 (file)
@@ -3,12 +3,24 @@
 # based on some of the mount configurations available at home or abroad.
 
 # 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'
+define_yeti_alias moo='check_mount /z/stuffing ; check_mount /z/walrus ; check_mount /z/chunky ; check_mount /z/fredgrid'
+define_yeti_alias unmoo='sudo umount /z/stuffing ; sudo umount /z/walrus ; sudo umount /z/chunky ; sudo 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 )'
-
-# load in the xsede build scripts.
-source "$FEISTY_MEOW_SCRIPTS/buildor/build_xsedes.sh"
+# load in the gffs build scripts.
+source "$FEISTY_MEOW_SCRIPTS/buildor/gffs_builders.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
+}