.bashrc, .cshrc or .profile scripts
Brian McKee
brian.mckee at gmail.com
Fri Jan 30 14:01:37 UTC 2009
On Fri, Jan 30, 2009 at 8:21 AM, Nils Kassube <kassube at gmx.net> wrote:
> Flynn, Steve (L & P - IT) wrote:
> alias gdb='gdb -q'
> alias man='man -a'
> alias top='top -i'
> alias md='mkdir -p'
> alias rot13='gcipher -C Rot -k 13'
> alias play='play -q'
> alias dif='diff -dtprU 6 -x bin -x "*.[ao]" -x "*.obj" -x "*~"'
> PS1='\w/ >\[\033[m\] '
> [ "$UID" = 0 ] && PS1='\[\033[01m\033[41m\033[37m\]\h: \w/ #\[\033[m\] '
That's cute - I have a different set of colours for root, but I hadn't
thought to automate it. Making notes....
I do like my more verbose one though...
PS1="\[\n\033[1;37m\] \u\n \H\n \w\n\[\033[1;33m\]==> \[\033[0m\]"
also I use these...
alias dirlist='find . -type d -ls -maxdepth 1'
alias envdump='perl -mstrict -MData::Dumper -we '\''print Dumper \%ENV;'\'''
alias cd..='cd ..'
Have you guys ever looked at http://dotfiles.org ? Seems like lots of
good stuff there - just hard to find...
e.g. http://dotfiles.org/~inky/.bashrc
Brian
More information about the ubuntu-users
mailing list