tmux rename session

If you started tmux without any arguments, the name for session was given the [0], you can see it in the status bar.

To rename session use:

tmux rename-session namedSession
now in the status bar on the left-hand side instead of [0], it should now say [namedSession].