Rename a Tmux Session

This shows how to rename a tmux session:

1
tmux rename-session -t rules dev

Here “rules” is the old session name, “dev” is the one you want to change to.