You can wrap the whole thing in run-shell which will expand formats, so let
it expand the current window and escape the others so list-panes expands
them, something like
run 'tmux lsp -f '##{==:#{window_index},##{window_index}}'
On Thu, 8 Oct 2020, 16:55 M Kelly, <[email protected]> wrote:
> Hi,
>
> I think I just need to get my current window_index separately,
> before-hand, and use that as a constant in the filter instead of #I.
>
> thx,
> -m
>
> On Thursday, October 8, 2020 at 10:53:36 AM UTC-4 M Kelly wrote:
>
>> Hi everyone,
>>
>> I am trying to get a list of all panes with the same window index:
>>
>> tmux list-panes -s -F '#{window_index} #{s/%//:pane_index}: #{pane_title}
>> #{b:pane_start_command}' -f '?#{==:#{window_index},#I}'
>>
>> But my filter does not seem to work right.
>> I know I can just remove the -s in this case, but in general I am trying
>> to figure out filters.
>> Does anyone know if there a way to put in the current window index to use
>> in the filter compare ?
>>
>> thanks for all things tmux,
>> -m
>>
> --
> 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/6b9d0e88-b268-46b2-a461-6323305401a7n%40googlegroups.com
> <https://groups.google.com/d/msgid/tmux-users/6b9d0e88-b268-46b2-a461-6323305401a7n%40googlegroups.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/CAEdLfcGLbKw9-xXes%2BUauySadxU3vRMbsCS%3DsgnmzUcsjMLD%3DQ%40mail.gmail.com.