Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the '10.5: Fix the sudo shell prompt' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
10.5: Fix the sudo shell prompt
Authored by: Zeitkind on Sun, Mar 23 2008 at 3:03PM PDT
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 | # ]