I have a line in my .tmux.conf which simply shows me the git branch I am on.
set -g status-right ' #[bg=colour33] Branch #[(git branch)] '
When working in tmux, I regularly have panels in different directories. So my question becomes, is there a way to have the status command re-execute based on my "panel's cwd", instead of what it is doing now, where it seems to just hold onto the directory I was in when tmux was first opened.. ?