4 ms·
If you use tmux you need to use reattach-to-user-namespace if you want copy and paste to work. I had removed this from my config since I didn't need it for El C
by ctrlrsf 10y ago
If you use tmux you need to use reattach-to-user-namespace if you want copy and paste to work. I had removed this from my config since I didn't need it for El Capitan, but just had to re-add it for Sierra.
set-option -g default-shell "/bin/bash"
set-option -g default-command "reattach-to-user-namespace -l $SHELL"