The tcsh shell (the one that launches when you start a terminal) has a prompt which looks like this:
[machinename:~] username%
You can modify the prompt with the set prompt = command (subtle, I know!). Over on the MacNN forums, this thread includes a great tutorial (written by blanalex) on how to generate some unique and useful prompt strings, including those with colored foregrounds and backgrounds.
I've reproduced the final how-to from the discussion in the remainder of this article, in case the MacNN posting goes away anytime soon.
[machinename:~] username%
You can modify the prompt with the set prompt = command (subtle, I know!). Over on the MacNN forums, this thread includes a great tutorial (written by blanalex) on how to generate some unique and useful prompt strings, including those with colored foregrounds and backgrounds.
I've reproduced the final how-to from the discussion in the remainder of this article, in case the MacNN posting goes away anytime soon.



