Open ghost opened 6 years ago
I need real-time clock in prompt so I enable trap with zle reset-prompt, this causing tmux-logging continue to capture like enter with TMOUT=1 - each 1s causing like new line, I have bunch of these lines in log file:
zle reset-prompt
TMOUT=1
[user@localhost ~] [user@localhost ~] [user@localhost ~] [user@localhost ~]
How could I avoid this? make tmux-logging ignore the trap/reset-prompt?
I need real-time clock in prompt so I enable trap with
zle reset-prompt
, this causing tmux-logging continue to capture like enter withTMOUT=1
- each 1s causing like new line, I have bunch of these lines in log file:How could I avoid this? make tmux-logging ignore the trap/reset-prompt?