Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'd like to have the current time in my tmux status line. I got as far as:

$ tmux set status-right '"#22T" %H:%M:%S %d-%b-%y'

This does alter the time in the status line to include seconds. However, the status line is only updated if "something happens": I switch windows, switch panes, etc. How can I configure tmux to update the status-line every second, so that I can have a running clock?

share|improve this question

1 Answer

Set the status inverval so that it is updated every second:

tmux set status-interval 1
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.