Hello. I'm wondering if there's any way to use a special variable in a shell command, such as:
set-option -g status-left "#(powerline.sh left #S)" The specific problem I'm trying to solve involves the Powerline module ... if I have multiple sessions up, they all show the same 'session name' on the statusbar. The session name comes from a call to 'tmux display-message -p "#S"', and it will return only the ID from the session in the foreground, or the session most recently selected. I'm trying to hack the Powerline script to display the correct session-name for each session, regardless of whether it's in the foreground or background. Passing #S to the powerline script would be an easy way of accomplishing that, but it doesn't seem to be possible. I'd be grateful for any other ideas. Thanks for the help. Charles ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users