![](https://seccdn.libravatar.org/avatar/6bd973f82fe845b4f52a4c31ac9aea0c.jpg?s=120&d=mm&r=g)
On Thursday 26 April 2007 11:15, Alexey Eremenko wrote:
congratulations for this new feature in 10.3 ! I really like it !
1. Who made it? 2. Where can I find documentation that allows me to change bash prompt? (colors, symbols, etc...) I know this is a bash-specific PS1/PS2 variables were changed...
You can define your $PS1 variable in root's .bashrc file like this: export PS1="\[\e[31;1m\]\u# \[\e[0m\]" This line surns your text red(\[\e[31;1m\]) prints the prompt (\u$ ) then turns the text coloring off (\[\e[0m\]) Other colors are likewise available using the following codes: RED "\e[0;31m]" YELLOW "\e[0;33m]" PURPLE "\e[0;35m]" WHITE "\e[0;37m]" BLUE "\e[0;34m]" BLACK "\e[0;30m]" CYAN "\e[0;36m]" BOLD "\e[1;1m]" BLINK "\e[5m]" INVERT "\e[7m]" UNDRLN "\e[4m]" OFF "\e[0;0m]" Almost certainly there are other ways to do this, but this is the one that I know. Perhaps others will share their methods. -- JAY VOLLMER JVOLLMER@VISI.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK - IGNORE FULLWISE -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org