default-terminal is a session option not a window option, so -w is
wrong.
In tmux 1.5 you don't need -w or anything, tmux will guess what type of
option it is correctly.
On Wed, Sep 21, 2011 at 08:04:44PM +1000, craig lister wrote:
>Hi,
>
>Any ideas on why this script :-
>
>#!/bin/
Hi,
Any ideas on why this script :-
#!/bin/sh
tmux new-session -d -s itmult
sleep 2
tmux neww -a -n win1 'ssh -X freddy@fred'
tmux neww -a -n win2 'ssh -X freddy@fred1'
tmux set-option -w -t itmult:win1 default-terminal xterm
tmux set-option -w -t itmult:win2 default-terminal xterm
tmux select-w