You need a \ before ; so it gets passed to tmux rather than interpreted by
the shell.

On Sat, 2 May 2020, 17:39 Sivaram Neelakantan, <[email protected]>
wrote:

> On Sat, May 02 2020,Nicholas Marriott wrote:
>
>
> [snipped 30 lines]
>
> > The easiest things to do are to either make the session big enough to
> > fit all the panes even when they are split:
> >
> > tmux new -d -x 200 -y 200 ...
> >
> > Or to apply the tiled layout after every split (this is what I tend to
> > do):
> >
> > tmux splitw -tMySession:1 ... \; selectl tiled
>
> I still get the same error with these changes; what am I doing wrong?
>
> --8<---------------cut here---------------start------------->8---
>
> tmux new-session -d -s MySession -n Shell1 -d "/usr/bin/env bash -i"
> tmux split-window -t MySession:1 "/usr/bin/env bash -i ; selectl tiled"
> tmux split-window -t MySession:1 "/usr/bin/env bash -i ;selectl tiled"
> tmux split-window -t MySession:1 "/usr/bin/env bash -i ;selectl tiled"
> tmux split-window -t MySession:1 "/usr/bin/env bash -c \"echo 'fifth
> shell'\"; /usr/bin/env bash -i ;selectl tiled"
> tmux select-layout -t MySession:1 tiled
> --8<---------------cut here---------------end--------------->8---
>
>
> sivaram
> --
>
> --
> You received this message because you are subscribed to the Google Groups
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/tmux-users/krpqx3h7wyjnq3.fsf%40gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/CAEdLfcG8muYaYQcoxQSaGNfse4e%3DvziB73Ycvs71GUCM%3DbkFQg%40mail.gmail.com.

Reply via email to