display time in the prompt
hi,
the following string displays time in the prompt:
set prompt = "%{\033[29m%}%B[%@]$ "
as follows:
[7:04pm]$
now i want the time in 24 hours format, without any am, pm etc. that is, say
[19:04]$
anybody knows how?
thanks,
rpb
Last edited by rpb; 05-18-2005 at 08:36 AM.
|