From d44bda170f580a3141b68b62452afd83c4efeac3 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 7 Feb 2019 17:30:12 -0500 Subject: [PATCH] Do not bind fzf completion on dumb terminals --- z.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z.lua b/z.lua index d5b1429..cc66955 100755 --- a/z.lua +++ b/z.lua @@ -1862,7 +1862,7 @@ fi ]] local script_fzf_complete_bash = [[ -if command -v fzf >/dev/null 2>&1; then +if [ "$TERM" != "dumb" ] && command -v fzf >/dev/null 2>&1; then # To redraw line after fzf closes (printf '\e[5n') bind '"\e[0n": redraw-current-line'