Change null-arguments check for tmux func
Detach session on attaching by default