How to change "-bash-4.2#" in terminal?

Recently I bought a VPS and installed openSUSE 13.1 minimal.
but the prompt just shows static “-bash-4.2#” like this:
http://i.imgur.com/YYtBHTj.png

instead of the usual default I found in my other boxes:
http://i.imgur.com/efzOn2a.png
it has red root name, last access time, showing current path etc

how do I change this? Its confusing and bothering me so much.

there are no ~/.bashrc in any of my boxes to copy from each other.

Hi,

Im not sure about VPS since those things might have their own policy about some things including the prompt but if it is a minimal install then you can just try to create a ~/.bashrc if you like and the prompt is defined by the value of “$PS1” you can try

echo "$PS1"

In openSUSE the value of PS1 is defined in the file

/etc/bash.bashrc

Assuming of course you’re using bash as your log-in shell.

Thanks.

But im not sure why, the prompt was automagically get in shape after I finished setting up my webserver stack and reboot.

I think it got pulled somewhere as part of package dependencies but not sure which was it.