summaryrefslogtreecommitdiff
path: root/tmux-cmd
diff options
context:
space:
mode:
Diffstat (limited to 'tmux-cmd')
-rwxr-xr-xtmux-cmd3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux-cmd b/tmux-cmd
new file mode 100755
index 0000000..cbaaac7
--- /dev/null
+++ b/tmux-cmd
@@ -0,0 +1,3 @@
+#/bin/sh
+
+tmux list-windows | grep -v "irc" | grep -v "email" | cut -d: -f1 | xargs -I{} tmux send-keys -t {} "$1" C-m