added tmux helper function to tmux plugin