Add a function to attach or create session of tmux