From a9f1bab4833971a1ed62a307d46c7990066c7df3 Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti <acicchetti@constantcontact.com> Date: Thu, 7 Nov 2019 11:09:14 -0500 Subject: [PATCH] send-to-pane behave correctly --- zsh/zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index d5443a6..2214ce5 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -13,7 +13,7 @@ export KEYTIMEOUT=1 fpath=(~/bin ~/.zshcompletions $fpath) zstyle :compinstall filename '/home/anthonys/.zshrc' -zstyle ":completion:*" complete _complete _ignored _approximate +zstyle ":completion:*" complete _complete _ignored _approximate _expand zstyle ":completion:*" glob 1 zstyle ":completion:*" insert-unambiguous true zstyle ':completion:*' menu select @@ -63,7 +63,7 @@ function dt() { } function send-to-pane() { - tmux pipe-pane -I -t $1 "$2" + tmux pipe-pane -I -t $1 "$2 | head -n 1" } function _send_to_pane {