Work around a problem with tmux has-session: tmux has-session does a prefix match and not an exact match.
Work around a problem with tmux has-session:
tmux has-session does a prefix match and not an exact match.

When a session "ABC" does exist, the session "A" is also interpreted as "ABC"
Using tmux list-sessions fixes this problem

jimeh/tmuxifier