Merge pull request #38 from marsam/master

Do not bind fzf completion on dumb terminals
This commit is contained in:
Linwei authored and GitHub committed 2019-02-08 07:40:41 +08:00
commit 581ae7a3b7
1 file changed
+1 -1
+1 -1
View File
@@ -1863,7 +1863,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'