I'm trying to run a series of commands in tmux from a remote file like so:
tmux $(wget -qO- http://example.com/tmux)
The file contains commands like split-window
and send-keys
The problem is, send-keys
is stripping spaces. The send-keys commands is:
send-keys ssh example.com C-m;
But instead it sends sshexample.com
Any idea why?
Cheers!