+++ shyam [linux-india] <28/01/02 00:08 +0530>:
> Some one might have done this , I was just wondering how to put a
> continous clock in hh:mm:ss format clock on the prompt. I want it to run
> continously unlike the \t or the $(date) given to the PS1 variable.

PS1="`whoami`@`hostname | sed 's/\..*//'` \[$(tput md)\]\t [\w]\[$(tput me)\]"
        0) PS1="${PS1}# ";;
        *) PS1="${PS1}$ ";;
export PS1

        -srs

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to