63ba8eaca3a665410b871a98c322d504fbce0459
[feisty_meow.git] / customizing / fred / fred_common.alias
1
2 # some aliases that i don't expect very many people to ever want.  they are
3 # based on some of the mount configurations available at home or abroad.
4
5 # moo and unmoo mount the local folders i use most.
6 alias moo='check_mount /z/stuffing ; check_mount /z/walrus ; check_mount /z/chunky ; check_mount /z/fredgrid'
7 alias unmoo='sudo umount /z/stuffing ; sudo umount /z/walrus ; sudo umount /z/chunky ; sudo umount /z/fredgrid'
8
9 # load in the gffs build scripts.
10 source "$FEISTY_MEOW_SCRIPTS/buildor/gffs_builders.sh"
11
12 # just shows a separator line for an 80 column console, or uses the first
13 # parameter as the number of columns to expect.
14 function line()
15 {
16   count=$1; shift
17   if [ -z "$count" ]; then
18     count=80
19   fi
20   echo
21   for ((i=0; i < $count - 1; i++)); do
22     echo -n "="
23   done
24   echo
25   echo
26 }