You can't use {} like this anymore, it has to be valid commands. But you
can just change this to:
set-option -s command-alias[101] 'switch-if-single=if -F
"#{&&:#{==:#{session_windows},1},#{==:#{window_panes},1}}" "switch-client
-l"'
On Thu, 11 Mar 2021 at 10:45, Vladimir Bauer <[email protected]> wrote:
> I just tried tmux 3.2-rc4
> <https://github.com/tmux/tmux/releases/tag/3.2-rc> without changing my
> configuration which was digestible by tmux 3.1.
> I got syntax error for the following part of config:
>
> set-option -s command-alias[101] switch-if-single={
> if -F "#{&&:#{==:#{session_windows},1},#{==:#{window_panes},1}}"
> "switch-client -l"
> }
>
> Is it expected? How do I change this so that it works with tmux 3.2-rc4
> <https://github.com/tmux/tmux/releases/tag/3.2-rc>?
> --
> Kind Regards,
> Vladimir Bauer
>
> --
> 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/CADkDknatSQcW_%2B%3DjH_kbzwmp7kOH7ZV1-aPy5Oget5mQb%3D7QzQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/tmux-users/CADkDknatSQcW_%2B%3DjH_kbzwmp7kOH7ZV1-aPy5Oget5mQb%3D7QzQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
--
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/CAEdLfcEy4Ksg9QkLPcKydu3ZrKbqtGmnCgsH4Tu7V6mnnowPVw%40mail.gmail.com.