From 0b49a29872e0ca763935c20f630ba30f265c5053 Mon Sep 17 00:00:00 2001
From: Anthony Cicchetti <acicchetti@constantcontact.com>
Date: Mon, 16 Sep 2019 08:16:03 -0400
Subject: [PATCH] Added send-to-pane function (completions in progress)

---
 zsh/zshrc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/zsh/zshrc b/zsh/zshrc
index e99f12f..9cfee68 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -139,6 +139,15 @@ function _dt_completion {
 }
 compctl -K _dt_completion dt
 
+function send-to-pane() {
+    tmux pipe-pane -I -t $1 "$2"
+}
+
+function _send_to_pane {
+    reply=($(tmux display-panes -b ''))
+}
+compctl -K _send_to_pane send-to-pane
+
 if [[ -a $HOME/.zshsrc ]]; then
 	source $HOME/.zshsrc 
 else