more intelligent tmux+xsel integration