Skip to content

Commit

Permalink
Merge pull request #10 from zhimsel/tmux-support
Browse files Browse the repository at this point in the history
Enable support for fzf-tmux
  • Loading branch information
lincheney committed Jul 22, 2020
2 parents 039ac82 + 3b54864 commit 557f2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh/fzf-zsh-completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ _fzf_completion_selector() {

tput cud1 >/dev/tty # fzf clears the line on exit so move down one
FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse $FZF_DEFAULT_OPTS $FZF_COMPLETION_OPTS" \
fzf --ansi --prompt "> $PREFIX" -d "$_FZF_COMPLETION_SEP" --with-nth 3..5 --nth "$field" \
$(__fzfcmd) --ansi --prompt "> $PREFIX" -d "$_FZF_COMPLETION_SEP" --with-nth 3..5 --nth "$field" \
< <(printf %s\\n "${lines[@]}"; cat)
code="$?"
tput cuu1 >/dev/tty
Expand Down

0 comments on commit 557f2b8

Please sign in to comment.