

Setw -g window-status-current-format $WINDOW I've tried to print the above value in the statusbar (both the local and global value) and have configured the window format as follows: WINDOW=''

I can verify these values for instance by going the another shell (in the same session) and typing: bash> tmux show-environment TMUX_STATUS_1īash> tmux show-environment -g TMUX_STATUS_1 I've opened a shell inside tmux and have stored the tmux environment variable locally (per session) and globally (for all sessions) with the following commands, respectively: bash> tmux set-environment TMUX_STATUS_1 localvalue1īash> tmux set-environment -g TMUX_STATUS_1 globalvalue1 I'm trying to print a unique per window variable in the status bar. I've tried to make it more clear through 2 scenarios: print a variable unique to the window ,orĪnd use the output in the status bar such that each window status is unique.What it comes down to is, I would like to
