Hi

join-pane doesn't have an after hook at the moment, although I think
there is no reason it couldn't have the default one (which uses -t). Try
this please:

Index: cmd-join-pane.c
===================================================================
RCS file: /cvs/src/usr.bin/tmux/cmd-join-pane.c,v
retrieving revision 1.34
diff -u -p -r1.34 cmd-join-pane.c
--- cmd-join-pane.c     17 Apr 2019 14:37:48 -0000      1.34
+++ cmd-join-pane.c     17 Jun 2019 08:22:47 -0000
@@ -55,7 +55,7 @@ const struct cmd_entry cmd_move_pane_ent
        .source = { 's', CMD_FIND_PANE, 0 },
        .target = { 't', CMD_FIND_PANE, 0 },
 
-       .flags = 0,
+       .flags = CMD_AFTERHOOK,
        .exec = cmd_join_pane_exec
 };
 




On Sun, Jun 16, 2019 at 01:02:50PM +0300, Vladimir Bauer wrote:
>    I have
>    set-hook -g after-join-pane "select-layout even-horizontal"
>    set in my config.
>    After I join pane nothing happens, i.e. hook didn't trigger.
>    Exact command I use to join panes: "join-pane -s !"
>    Do I miss something?
>    --
>    Kind Regards,
>    Vladimir Bauer
> 
>    --
>    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 email to [email protected].
>    To view this discussion on the web, visit
>    
> https://groups.google.com/d/msgid/tmux-users/CADkDknbOM5k-HpDHaRXN4bO0ojH3SQCqPtjknjN6xwCWJLQ_yg%40mail.gmail.com.
>    For more options, visit https://groups.google.com/d/optout.

-- 
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].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/20190617082313.afoj3gpc22hk3xfp%40yelena.
For more options, visit https://groups.google.com/d/optout.

Reply via email to