Let's say I want the status to be a customized version of
"pane_current_path", and I want to *both* use a "=-12" (last twelve chars)
modifier and an "s/reallylong/short/" modifier.

The documentation states nothing about combining multiple of these, but the
obvious syntax for that would be:

#{=-12:#{s/reallylong/short/:pane_current_path}}

Indeed, the syntax for comparators (i.e. ‘#{==:#{host},myhost}’) seems to
suggest that nesting expressions work. But this does not work.

Another obvious way to combine would be:

#{=-12:s/reallylong/short/:pane_current_path}

But that does not work either. I also tried with space and comma and
semicolon, and none works:

#{=-12 s/reallylong/short/:pane_current_path}
#{=-12,s/reallylong/short/:pane_current_path}
#{=-12;s/reallylong/short/:pane_current_path}

which leads me to believe that it's not possible to do this.

Z

-- 
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 post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to