-
Notifications
You must be signed in to change notification settings - Fork 515
Open
Description
Docs are outdated.
yank.shis broken in one place:-q 0has to be added to thenccommand at~/.config/tmux/yank.shof remote machine:
elif [ -n "${copy_backend_remote_tunnel_port-}" ] \
&& (netstat -f inet -nl 2>/dev/null || netstat -4 -nl 2>/dev/null) \
| grep -q "[.:]$copy_backend_remote_tunnel_port"; then
copy_backend="nc -q 0 localhost $copy_backend_remote_tunnel_port"
fi- On local machine, open two separate terminals. In one type this:
ssh -R 11988:localhost:3333 remote_username@PUT_HERE_REMOTE_IP_ADDRESS
In second terminal:
if you are using fish:
while true
nc -l -vv -p 3333 | wl-copy
endif bash:
while true
do
nc -l -vv -p 3333 | wl-copy
doneYou can change the wl-copy part to your favourite clipboard copy-paster command
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels