Skip to main content
5 events
when toggle format what by license comment
Aug 4, 2022 at 18:00 history edited NotTheDr01ds CC BY-SA 4.0
added 69 characters in body
Aug 4, 2022 at 17:59 comment added NotTheDr01ds @Dave Great point! I'm probably not going to fix the answer itself right now, but let your comment serve as note to future readers. If a future reader needs assistance with the modification, please feel free to ask in a comment here tagging me or Dave.
Aug 4, 2022 at 14:28 comment added Dave Careful with using a for loop with the output of all. Would recommend including #{pane_active} in your format, then sort on that column. This way the last pane to be closed will be the active one you are on. If you dont do this the for loop will work though every entry in the list provided from the output of tmux list-panes -a -F "#D", and if your script is in the middle it will stop before the rest of the entries are complete.
May 16, 2021 at 18:15 comment added John Thanks, that's a good idea. I'm going to leave the question open a little longer (i.e., not accept the answer yet) to see if someone comes up with a way to do it natively in tmux. I appreciate your suggestion.
May 15, 2021 at 1:32 history answered NotTheDr01ds CC BY-SA 4.0