send-to-pane behave correctly
This commit is contained in:
parent
4c6203e9de
commit
a9f1bab483
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue