title: How to automatically name session in tmux?
body: <p>Provided I have a shell script to figure out name for an arbitrary Tmux session, how to configure Tmux to call it when creating new session (using both <code>tmux new</code> and <code>:new-session</code>) and use its output as a session name?</p>