I'm using macOS Ventura and the Terminal app that comes with it. I'm trying to copy from tmux to the system clipboard. I found this piece of code here and it won't work.
bind-key -Tcopy-mode-vi Enter send -X copy-pipe-and-cancel 'reattach-to-user-namespace pbcopy' The guy is using iTerm. Does that affect it? I also installed reattach-to-user-namespace.