Displays ssh count in tmux status-right.
Add #{ssh-count}
format strings to existing status-right
tmux option. Example:
# in .tmux.conf
set -g status-right '#{ssh-count}'
Installation with Tmux Plugin Manager (recommended)
Add plugin to the list of TPM plugins in .tmux.conf
:
set -g @plugin 'juli3nk/tmux-ssh-count'
Hit prefix + I
to fetch the plugin and source it.
If format strings are added to status-right
, they should now be visible.
Clone the repo:
$ git clone https://github.com/juli3nk/tmux-ssh-count ~/clone/path
Add this line to the bottom of .tmux.conf
:
run-shell ~/clone/path/ssh-count.tmux
Reload TMUX environment:
type this in terminal
$ tmux source-file ~/.tmux.conf
If format strings are added to status-right
, they should now be visible.