added support for time segment

I usually like to have some evidence of the current time on the console. I added this segment only with the time, because the date and time would have taken a lot of space, but it is extensible to also have it. I tested this on a bash environment, and don't know if this will work on zsh or any other shell.