Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ticking clock



On Mon, Aug 13, 2018 at 12:57 PM, Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> I've got the desktop's clock up there on the menu bar, but it is nice to
> have one on the command line too.

I do that by putting the ticking clock in the terminal emulator title
bar instead of in the prompt.

I also use a premcd to start the ticking, and initially set a longer
TMOUT so that it usually ticks only when I'm not actively editing the
buffer (I figure if I'm actively entering commands, having it update
after each command is often enough).



Messages sorted by: Reverse Date, Date, Thread, Author