bash: function to rebind a attached tmux session