Tech
Logging Every tmux Pane
The tmux-logging plugin is a manual toggle. I wanted every pane logged from the
moment it exists, in a file I can actually read.
Written and tested on macOS (tmux 3.7c, BSD awk 20200816, zsh). The awk is
plain POSIX, so it should carry to Linux, but I have not tested it there.
1. Install tpm and create the log directory
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
mkdir -p ~/.tmux/logs
2. Put this in ~/.tmux.conf
Replace...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to