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


Click here to return to the 'Switch Terminal colors per user' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Switch Terminal colors per user
Authored by: Darkshadow on Dec 29, '04 08:33:22PM

Hmm, if y'all are using bash (or sh), you can use \e instead of \033.

This is how my prompt works... output's a bit different, but then I'm a bit different. ;)

\[\e[1m\]\[\e[37m\]<\[\e[36m\]\u\[\e[37m\]://\[\e[33m\]\h/\W.htm\[\e[37m\]>\[\e[0m\] \[\e[37m\]\$

(output as <user://host/last_component_cwd.htm> $ )



[ Reply to This | # ]