Currently my bash prompt looks like this
$ echo $PS1
# \[\e[34m\][\t]\[\e[0m\] \[\e]0;\w\a\]\[\e[34m\]\u@\h: \[\e[34m\]\w\[\e[0m\]\n$
$
The problem is that \t
will only display the time when the prompt was rendered (which would be very close to the time of completion of the last command).
For me, it would be more useful to display the time at which the current command process was started. Is there a way to do this?