You can use run-shell to do the expansion instead of rename-window, eg run
'tmux rename "#{window_name}"'.



On Sat, 23 May 2020, 22:21 Steffen Nurpmeso, <[email protected]> wrote:

> Nicholas Marriott wrote in
> <CAEdLfcFyoq1bfOp3U+KG=qxet2ktqad9ccsuzmakurkdxtb...@mail.gmail.com>:
>  |On Sat, 23 May 2020, 22:01 Steffen Nurpmeso, <[1][email protected][/1]>
> \
>  |wrote:
>  ||So i do "the same" with panes:
>  |
>  ||  bind-key M-1 rename-window -t 1 edit/#W\; join-pane -h -s 0 -t :1.0
>  ...
>  ||Unfortunately the edit window will be named edit/edit not
>  ...
>  |Split the window to make a temporary pane (it could be empty) before \
>  |you break pane to stop the window being killed, and then kill the tempor\
>  |ary pane after you join the pane back.
>
> In parts i was being afraid of getting this answer :)
> Yeah sure, thanks.  ... and ... any hints on the name problem?
> Ciao,
>
> --steffen
> |
> |Der Kragenbaer,                The moon bear,
> |der holt sich munter           he cheerfully and one by one
> |einen nach dem anderen runter  wa.ks himself off
> |(By Robert Gernhardt)
>

-- 
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/CAEdLfcFWFdYVB_29CGiQUZRSbFxXTzTMRBOMJOQezZRF2pAk%3DQ%40mail.gmail.com.

Reply via email to