diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-04-29 14:05:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-04-29 14:05:25 +0000 |
commit | 3e2a80372cf7ab1ece40b6e7efb0ce2b7ccb409f (patch) | |
tree | a040483d38d88a7aad45baf53bd227ef5b1a9248 /usr.bin/tmux/cmd-if-shell.c | |
parent | 42d33530005d1927ae1c51720d9655ebf1ebd3de (diff) |
Final parts of command hooks, add before- and after- hooks to each command.
Diffstat (limited to 'usr.bin/tmux/cmd-if-shell.c')
-rw-r--r-- | usr.bin/tmux/cmd-if-shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-if-shell.c b/usr.bin/tmux/cmd-if-shell.c index 902264c2415..5c9185774f6 100644 --- a/usr.bin/tmux/cmd-if-shell.c +++ b/usr.bin/tmux/cmd-if-shell.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-if-shell.c,v 1.41 2016/03/01 12:06:07 nicm Exp $ */ +/* $OpenBSD: cmd-if-shell.c,v 1.42 2016/04/29 14:05:24 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -157,6 +157,7 @@ cmd_if_shell_callback(struct job *job) } cmdq1 = cmdq_new(cmdq->client); + cmdq1->flags |= cmdq->flags & CMD_Q_NOHOOKS; cmdq1->emptyfn = cmd_if_shell_done; cmdq1->data = cdata; |