better printing in safedel for the deleted file list, added 'line' alias for printing...
[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 # skype needs this to run properly.
10 alias skype='env PULSE_LATENCY_MSEC=30 skype'
11
12 # load in the xsede build scripts.
13 source "$FEISTY_MEOW_SCRIPTS/buildor/build_xsedes.sh"
14
15 # just shows a separator line for an 80 column console, or uses the first
16 # parameter as the number of columns to expect.
17 function line()
18 {
19   count=$1; shift
20   if [ -z "$count" ]; then
21     count=80
22   fi
23   echo
24   for ((i=0; i < $count - 1; i++)); do
25     echo -n "="
26   done
27   echo
28   echo
29 }