Is there a way to do clear-history
in all panes of all tmux sessions?
Tmux gets super slow after a couple days and I figure it might be because of the long scrollback buffers in a bunch of sessions.
Using Tmux 2.5 on macOS with iTerm2.
Is there a way to do clear-history
in all panes of all tmux sessions?
Tmux gets super slow after a couple days and I figure it might be because of the long scrollback buffers in a bunch of sessions.
Using Tmux 2.5 on macOS with iTerm2.
Easiest way would be to set the window history limit to some small number, so every new pane will have a maximum history. In your .tmux.conf
file you can set the window history limit with:
set -g history-limit 1024