You'll just need to use the file to construct the arguments to "tmux display-menu"
On Fri, 1 Nov 2024 at 14:58, Scott Aitken <goo...@thismonkey.com> wrote: > Hi, > I have an expect wrapper around SSH that I use, among other things, to > populate a text file of commands I have run against the destination system. > Can someone please get me started on how to use that file of commands (one > per line) to populate a TMUX pop-up menu; which I can then select from to > re-run that command? > Many thanks > > -- > 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 tmux-users+unsubscr...@googlegroups.com. > To view this discussion, visit > https://groups.google.com/d/msgid/tmux-users/711b3628-7da0-4077-a571-dd2466f28085n%40googlegroups.com > <https://groups.google.com/d/msgid/tmux-users/711b3628-7da0-4077-a571-dd2466f28085n%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 tmux-users+unsubscr...@googlegroups.com. To view this discussion, visit https://groups.google.com/d/msgid/tmux-users/CAEdLfcEVk9dMx%2BfFnJ5OvWU3eJmNSVWG%2Bv9ihGNdp_F%3DsuYd1w%40mail.gmail.com.