1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-18 13:49:50 +00:00

Do not bind fzf completion on dumb terminals

This commit is contained in:
Mario Rodas
2019-02-07 17:30:12 -05:00
parent f8dc81e95a
commit d44bda170f

2
z.lua
View File

@@ -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'