Since tmux 1.8 an option copy-pipe was introduced. Added config to do working copypaste for both ubuntu and mac