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 # redoes fred's set of custom scripts.
35 alias recustomize='cpdiff $FEISTY_MEOW_DIR/examples/custom_overrides/fred $FEISTY_MEOW_GENERATED/custom'
36 #regen-- this might be better as a function.
37 alias regenerate='bash $FEISTY_MEOW_SCRIPTS/core/bootstrap_shells.sh ; echo ; nechung'
38 alias reroot='chown -R root:root /root'
39 alias rm='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
40 alias ren='\mv -v -i '
44 #hmmm: move these to the custom area?
45 # Standard CAK aliases that add to or extend Unix commands.
46 alias bye='. $FEISTY_MEOW_SCRIPTS/users/goodbye.sh'
48 alias cls='clear_colormap; clear'
49 if [ "$OS" != "Windows_NT" ]; then
50 if [ -n "$IS_DARWIN" ]; then
53 elif [ ! -z "$(which nautilus)" ]; then
56 #check if konqueror exists also? fall back to uhhh midnight cmdr?
60 alias explorer="bash $FEISTY_MEOW_SCRIPTS/winders/exploder.sh"
61 alias exp="bash $FEISTY_MEOW_SCRIPTS/winders/exploder.sh"
63 alias pwd="/bin/pwd|sed -e 's/^\/home\/$USER/~/'"
65 if [ "$OS" = "Windows_NT" ]; then
66 # aliases we only use on the winders side.
69 alias whereami='echo whoa dude, try not to think about it...'
70 alias why='echo just because.'
72 # call the generated aliases file, if it exists.
73 if [ -f "$FEISTY_MEOW_GENERATED/fmc_aliases_for_scripts.sh" ]; then
74 if [ ! -z "$SHELL_DEBUG" ]; then echo launching generated aliases.; fi
75 source "$FEISTY_MEOW_GENERATED/fmc_aliases_for_scripts.sh"
76 if [ ! -z "$SHELL_DEBUG" ]; then echo done with generated aliases.; fi
79 # remove the fredization macro if it was defined, helping to avoid running
80 # the shell scripts twice for users like root that don't always load this
82 unalias fredme >/dev/null 2>&1