You are not logged in.
Sector11 wrote:a way to get that into the bash prompt.
[empty@Xanadu ~]$ export PS1="$(TZ=America/Chicago date '+%H:%M in Chicago'): " 12:03 in Chicago: date Sat 20 May 18:03:37 BST 2017 12:03 in Chicago:
Well, I spent a lot of time startpaging that yesterday and you pop in here like
"snap" Here ya go!
Wish I had your neurons!
export PS1=" \n \$(date +%d) \$(date +%h) \$(date +%y) $light_cyan@ $light_cyan\$(date +%T) $no_color\w\n $(TZ=America/Chicago date '+%H:%M in Chicago') $light_cyan\\$ $no_color"
Since I don't need Chicago, I gotta play with that.
Thank you HoaS
EDIT: A just for fun tweak:
export PS1=" \n \$(date +%d) \$(date +%h) \$(date +%y) $light_cyan@ $light_cyan\$(date +%T) $no_color\w\n $(TZ=NZ-CHAT date '+%d %h %y @ %H:%M in NZ')\n $light_cyan\\$ $no_color"
Last edited by Sector11 (2017-05-20 20:11:14)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Gracias ector1935
I've been using TZ stuff for years. Check out the image of the world time zone/weather conky in my post above. It was a stumbling block getting it into the bash prompt that I had a problem with. HoaS to the rescue.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
finally i have made it with tint2 and it work
thank's for your replies all
Please edit your first post and add [Solved] to the Subject.
It's the polite thing to do on any forum.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline