-regenerate='bash $SHELLDIR/core/bootstrap_shells.sh ; perl $SHELLDIR/core/generate_aliases.pl ; echo ; nechung'
-reroot='chowngrp -R root /root'
-dvd_rip='vobcopy -m'
-rm='perl $SHELLDIR/files/safedel.pl'
-ren='\mv -v -i '
-up='cd ..'
-whence=which
-why='echo just because.'
-xterm='xterm $myxtermflags'
-xtroff='xtroff $myxflags'
-# don't add blank lines or they are interpreted as needing treatment.
+alias regenerate='bash $SHELLDIR/core/bootstrap_shells.sh ; perl $SHELLDIR/core/generate_aliases.pl ; echo ; nechung'
+alias reroot='chown -R root:root /root'
+alias rm='perl $SHELLDIR/files/safedel.pl'
+alias ren='\mv -v -i '
+alias up='cd ..'
+alias whence=which
+alias xterm='xterm $myxtermflags'
+alias xtroff='xtroff $myxflags'
+
+#hmmm: move these to the custom area?
+# Standard CAK aliases that add to or extend Unix commands.
+alias bye='. $SHELLDIR/core/goodbye.sh'
+alias calc='kcalc'
+alias cls='clear_colormap; clear'
+if [ "$OS" != "Windows_NT" ]; then
+ if [ -n "$IS_DARWIN" ]; then
+ # case for mac os x.
+ alias exp='open'
+ elif [ ! -z "$(which nautilus)" ]; then
+ alias exp='nautilus'
+ else
+#check if konqueror exists also? fall back to uhhh midnight cmdr?
+ alias exp='konqueror'
+ fi
+else
+ alias explorer="bash $SHELLDIR/winders/exploder.sh"
+ alias exp="bash $SHELLDIR/winders/exploder.sh"
+fi
+alias pwd="/bin/pwd|sed -e 's/^\/home\/$USER/~/'"
+alias notepad='gedit'
+if [ "$OS" = "Windows_NT" ]; then
+ # aliases we only use on the winders side.
+ alias vi='gvim'
+fi
+alias whereami='echo whoa dude, try not to think about it...'
+alias why='echo just because.'
+
+# call the generated aliases file, if it exists.
+if [ -f "$GENERADIR/p_alias.sh" ]; then
+ if [ ! -z "$SHELL_DEBUG" ]; then echo launching generated aliases.; fi
+ source $GENERADIR/p_alias.sh
+ if [ ! -z "$SHELL_DEBUG" ]; then echo done with generated aliases.; fi
+fi
+
+# remove the fredization macro if it was defined, helping to avoid running
+# the shell scripts twice for users like root that don't always load this
+# stuff.
+unalias fredme >/dev/null 2>&1
+