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