send-to-pane behave correctly

This commit is contained in:
Anthony Cicchetti 2019-11-07 11:09:14 -05:00
parent 4c6203e9de
commit a9f1bab483

View file

@ -13,7 +13,7 @@ export KEYTIMEOUT=1
fpath=(~/bin ~/.zshcompletions $fpath) fpath=(~/bin ~/.zshcompletions $fpath)
zstyle :compinstall filename '/home/anthonys/.zshrc' 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:*" glob 1
zstyle ":completion:*" insert-unambiguous true zstyle ":completion:*" insert-unambiguous true
zstyle ':completion:*' menu select zstyle ':completion:*' menu select
@ -63,7 +63,7 @@ function dt() {
} }
function send-to-pane() { 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 { function _send_to_pane {