Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Fix the sudo shell prompt' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Fix the sudo shell prompt
Authored by: Zeitkind on Mar 23, '08 03:03:29PM
My prefered one:

cat ~/.bashrc

alias dir='ls'
alias ll='ls -al'

export CLICOLOR=1
export LSCOLORS=ExCxhxdxbxegedabaghbag

declare -x PS1='\[\033[1;33m\]\u\[\033[1;37m\]@\[\033[1;32m\]\h\[\033[1;37m\]:\[\033[1;31m\]\w \[\033[1;36m\]\$ \[\033[0m\]'
But everyone has its own special .bashrc.. ;)

[ Reply to This | # ]