This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: A simple question on font color
- From: "Bernard A Badger" <bab at vx dot com>
- To: <cygwin at sources dot redhat dot com>
- Date: Fri, 3 May 2002 15:47:40 -0400
- Subject: RE: A simple question on font color
The standard /etc/profile is
cat <<HERE
PATH="/usr/local/bin:/usr/bin:/bin:$PATH"
USER="`id -un`"
# Set up USER's home directory
if [ -z "$HOME" ]; then
HOME="/home/$USER"
fi
if [ ! -d "$HOME" ]; then
mkdir -p "$HOME"
fi
export HOME USER
for i in /etc/profile.d/*.sh ; do
if [ -f $i ]; then
. $i
fi
done
export MAKE_MODE=unix
export PS1='\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
cd "$HOME"
test -f ./.bashrc && . ./.bashrc
HERE
Your colors come from the PS1= line,
In your own $HOME/.bashrc, you can over-ride PS1 to your own choice.
See man bash, and search for PROMPTING.
test -f ./.bashrc && . ./.bashrc
> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Ming Huang
> Sent: Friday, May 03, 2002 2:24 PM
> To: cygwin@sources.redhat.com
> Subject: A simple question on font color
> tried to change color on Properties. No matter what I did for the
> font color, this message color never changes. Hmmmm!
>
> Is there any veteran user know how to change its color?
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/