1 # common aliases for feisty_meow are located here.
2 # most of these should work in any bash environment...
3 # although some may require more than bash, like the aliases
4 # that invoke perl scripts.
6 # repurposes certain commands that feisty meow does a little differently.
7 alias cls='clear_colormap; clear'
8 alias copy='\cp -i -v '
10 alias cvs='perl $FEISTY_MEOW_SCRIPTS/rev_control/cvs_fix.pl'
11 alias del='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
12 alias deltree='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
14 alias dir='perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl'
16 alias erase='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
17 alias l='\ls -FC $color_add'
18 alias ls='\ls -FC $color_add'
22 alias move='mv -i -v '
24 alias rd='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl'
25 alias ren='\mv -v -i '
26 alias rm='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
27 alias rmdir='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl'
28 alias path='echo $PATH'
31 # some aliases that are just generally nice to have.
35 alias cd...='\cd ../..'
36 alias cd....='\cd ../../..'
37 alias cd.....='\cd ../../../..'
42 # extended aliases for meta-operations.
43 alias dvd_rip='vobcopy -m'
44 alias mplayer='\mplayer -ao arts'
45 alias play='bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh'
47 # some really eccentric feisty meow aliases...
49 alias bye='. $FEISTY_MEOW_SCRIPTS/users/goodbye.sh'
51 # redoes fred's set of custom scripts.
52 alias recustomize='cpdiff $FEISTY_MEOW_DIR/examples/custom_overrides/fred $FEISTY_MEOW_GENERATED/custom'
53 # makes root user's home directory's permissions right.
54 alias reroot='chown -R root:root /root'
56 #hmmm: move these to the custom area?
57 if [ "$OS" != "Windows_NT" ]; then
58 if [ -n "$IS_DARWIN" ]; then
61 elif [ ! -z "$(which nautilus)" ]; then
64 #check if konqueror exists also? fall back to uhhh midnight cmdr?
68 alias explorer="bash $FEISTY_MEOW_SCRIPTS/winders/exploder.sh"
69 alias exp="bash $FEISTY_MEOW_SCRIPTS/winders/exploder.sh"
71 alias pwd="/bin/pwd|sed -e 's/^\/home\/$USER/~/'"
73 if [ "$OS" = "Windows_NT" ]; then
74 # aliases we only use on the winders side.
77 alias whereami='echo whoa dude, try not to think about it...'
78 alias why='echo just because.'
80 # call the generated aliases file, if it exists.
81 if [ -f "$FEISTY_MEOW_GENERATED/fmc_aliases_for_scripts.sh" ]; then
82 if [ ! -z "$SHELL_DEBUG" ]; then echo launching generated aliases.; fi
83 source "$FEISTY_MEOW_GENERATED/fmc_aliases_for_scripts.sh"
84 if [ ! -z "$SHELL_DEBUG" ]; then echo done with generated aliases.; fi
87 # remove the fredization macro if it was defined, helping to avoid running
88 # the shell scripts twice for users like root that don't always load this
90 unalias fredme >/dev/null 2>&1