I happened to stumble on this forum thread (and every other page I find on RPi MOTD links here), and found a nice description on how to change the MOTD. However, after creating a
/home/pi/.bash_profile file and using even the simplest code such as:
#!/bin/bash echo "$(tput setaf 2) .~~. .~~. '. \ ' ' / .'$(tput setaf 1) .~ .~~~..~. : .~.'~'.~. : ~ ( ) ( ) ~ ( : '~'.~.'~' : ) ~ .~ ( ) ~. ~ ( : '~' : ) $(tput sgr0)Raspberry Pi$(tput setaf 1) '~ .~~~. ~' '~' $(tput sgr0)"
from here, my prompt becomes always white, instead of remaining colored.
What should/can be added to print a nice color ASCII picture and still have colored prompts/text?
EDIT: It turns out that so much as having a
.bash_profile file will cause this. Is there no way around it?
Also: Sorry about the tags. Not sure what to use, but not enough rep to create new ones