projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new fortune.
[feisty_meow.git]
/
scripts
/
core
/
common.alias
diff --git
a/scripts/core/common.alias
b/scripts/core/common.alias
index 77dee20a849eaf08cf0919de2583d24a8f007a48..7b8d3caddc02a0b6dfda48cb7a5b8065ba82d868 100644
(file)
--- a/
scripts/core/common.alias
+++ b/
scripts/core/common.alias
@@
-9,12
+9,7
@@
# Feel free to send updates to: [ fred@gruntose.com ]
##############
# Feel free to send updates to: [ fred@gruntose.com ]
##############
-# common aliases for feisty_meow are located here.
-# most of these should work in any bash environment...
-# although some may require more than bash, like the aliases
-# that invoke perl scripts.
-
-##############
+# a list of core aliases for feisty meow codebase.
# repurposes certain commands that feisty meow does a little differently.
alias cls='clear_colormap; clear'
# repurposes certain commands that feisty meow does a little differently.
alias cls='clear_colormap; clear'
@@
-27,12
+22,13
@@
alias df='\df -mh'
alias dir='perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl'
alias du='\du -h'
alias erase='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
alias dir='perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl'
alias du='\du -h'
alias erase='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
-# elaborate replacement for explorer command, which we shorten to exp.
+# elaborate replacement for filesystem explorer command, which we have
+# shortened to "exp".
if [ "$OS" != "Windows_NT" ]; then
if [ -n "$IS_DARWIN" ]; then
# case for mac os x.
alias exp='open'
if [ "$OS" != "Windows_NT" ]; then
if [ -n "$IS_DARWIN" ]; then
# case for mac os x.
alias exp='open'
- elif [ ! -z "$(which nautilus)" ]; then
+ elif [ ! -z "$(which nautilus
2>/dev/null
)" ]; then
# we prefer nautilus if available.
alias exp='nautilus'
else
# we prefer nautilus if available.
alias exp='nautilus'
else
@@
-43,10
+39,11
@@
else
# windows gets routed to our helpful script instead.
alias exp="bash $FEISTY_MEOW_SCRIPTS/winders/exploder.sh"
fi
# windows gets routed to our helpful script instead.
alias exp="bash $FEISTY_MEOW_SCRIPTS/winders/exploder.sh"
fi
-# re-use work we did on 'exp' macro for
longer
command.
+# re-use work we did on 'exp' macro for
the longer windows
command.
alias explorer=exp
alias explorer=exp
-alias l='\ls -hFC $color_add'
-alias ls='\ls -hFC $color_add'
+alias i=inventory
+alias l='perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl'
+alias ls='ls -HhFC $color_add'
alias lsd='ls -hl'
alias md='mkdir'
alias more='less'
alias lsd='ls -hl'
alias md='mkdir'
alias more='less'
@@
-58,6
+55,7
@@
alias rd='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl'
alias ren='\mv -v -i '
alias rm='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
alias rmdir='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl'
alias ren='\mv -v -i '
alias rm='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
alias rmdir='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl'
+alias s='echo "##############"'
alias path='echo $PATH'
alias whence=which
alias path='echo $PATH'
alias whence=which
@@
-92,8
+90,9
@@
alias cputemp='acpi -t'
# makes root user's home directory's permissions right.
alias reroot='chown -R root:root /root'
# yes, these are really helpful...
# makes root user's home directory's permissions right.
alias reroot='chown -R root:root /root'
# yes, these are really helpful...
+alias whoareyou='echo -e "Hello, I am a computer named $(hostname)\nand I'\''m very pleased to meet you."'
alias whereami='echo whoa dude, try not to think about it...'
alias whereami='echo whoa dude, try not to think about it...'
-alias why='echo
just because
.'
+alias why='echo
We all wonder what the point of the universe is at times. If you figure it all out, please write us
.'
# done with loading up regular aliases now...
# done with loading up regular aliases now...
@@
-115,3
+114,8
@@
unalias fredme &>/dev/null
##############
##############
+# set the sentinel variable that says this file was handled.
+export CORE_ALIASES_LOADED=true
+
+##############
+