1 # common aliases for feisty_meow are located here.
2 # most should work in any bash environment.
5 #alias arch='if [ -f /bin/arch ]; then /bin/arch; else uname -m; fi'
7 alias cd...='\cd ../..'
8 alias cd....='\cd ../../..'
9 alias cd.....='\cd ../../../..'
10 alias copy='\cp -i -v '
12 alias cvs='perl $FEISTY_MEOW_SCRIPTS/rev_control/cvs_fix.pl'
13 alias del='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
14 alias deltree='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
16 alias dir='perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl'
18 alias dvd_rip='vobcopy -m'
19 alias erase='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
20 alias l='\ls -FC $color_add'
21 alias ls='\ls -FC $color_add'
26 alias move='mv -i -v '
27 alias mplayer='\mplayer -ao arts'
30 alias path='echo $PATH'
31 alias play='bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh'
32 alias rmdir='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl'
33 alias rd='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl'
34 #regen-- this might be better as a function.
35 alias regenerate='bash $FEISTY_MEOW_SCRIPTS/core/bootstrap_shells.sh ; echo ; nechung'
36 alias reroot='chown -R root:root /root'
37 alias rm='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
38 alias ren='\mv -v -i '
42 #hmmm: move these to the custom area?
43 # Standard CAK aliases that add to or extend Unix commands.
44 alias bye='. $FEISTY_MEOW_SCRIPTS/users/goodbye.sh'
46 alias cls='clear_colormap; clear'
47 if [ "$OS" != "Windows_NT" ]; then
48 if [ -n "$IS_DARWIN" ]; then
51 elif [ ! -z "$(which nautilus)" ]; then
54 #check if konqueror exists also? fall back to uhhh midnight cmdr?
58 alias explorer="bash $FEISTY_MEOW_SCRIPTS/winders/exploder.sh"
59 alias exp="bash $FEISTY_MEOW_SCRIPTS/winders/exploder.sh"
61 alias pwd="/bin/pwd|sed -e 's/^\/home\/$USER/~/'"
63 if [ "$OS" = "Windows_NT" ]; then
64 # aliases we only use on the winders side.
67 alias whereami='echo whoa dude, try not to think about it...'
68 alias why='echo just because.'
70 # call the generated aliases file, if it exists.
71 if [ -f "$FEISTY_MEOW_GENERATED/aliases_for_scripts.sh" ]; then
72 if [ ! -z "$SHELL_DEBUG" ]; then echo launching generated aliases.; fi
73 source "$FEISTY_MEOW_GENERATED/aliases_for_scripts.sh"
74 if [ ! -z "$SHELL_DEBUG" ]; then echo done with generated aliases.; fi
77 # remove the fredization macro if it was defined, helping to avoid running
78 # the shell scripts twice for users like root that don't always load this
80 unalias fredme >/dev/null 2>&1