From 08510fe6c632127cc4829eb550fc9faf41474c84 Mon Sep 17 00:00:00 2001 From: John Purnell <39587+jpcirrus@users.noreply.github.com> Date: Thu, 21 Jul 2022 15:30:21 +0200 Subject: [PATCH] Update fzf --inline-info option to --info=inline fzf changed the option `--inline-info` to the equivalent `--info=inline` in release 0.19.0 with commit junegunn/fzf@d2fa4701651a1228ab7aea67eb195fc446f4a2a0 on 2019-11-14. --- z.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/z.lua b/z.lua index 1f067c0..d97069c 100755 --- a/z.lua +++ b/z.lua @@ -1634,7 +1634,7 @@ function z_cd(patterns) elseif Z_INTERACTIVE == 2 then local fzf = os.environ('_ZL_FZF', 'fzf') local tmpname = '/tmp/zlua.txt' - local cmd = '--nth 2.. --reverse --inline-info --tac ' + local cmd = '--nth 2.. --reverse --info=inline --tac ' local flag = os.environ('_ZL_FZF_FLAG', '') flag = (flag == '' or flag == nil) and '+s -e' or flag cmd = ((fzf == '') and 'fzf' or fzf) .. ' ' .. cmd .. ' ' .. flag @@ -1855,7 +1855,7 @@ function cd_breadcrumbs(pwd, interactive) retval = io.read('*l') elseif interactive == 2 then local fzf = os.environ('_ZL_FZF', 'fzf') - local cmd = '--reverse --inline-info --tac ' + local cmd = '--reverse --info=inline --tac ' local flag = os.environ('_ZL_FZF_FLAG', '') flag = (flag == '' or flag == nil) and '+s -e' or flag cmd = ((fzf == '') and 'fzf' or fzf) .. ' ' .. cmd .. ' ' .. flag @@ -2287,7 +2287,7 @@ function z_shell_init(opts) end print(script_complete_bash) if opts.fzf ~= nil then - fzf_cmd = "fzf --nth 2.. --reverse --inline-info --tac " + fzf_cmd = "fzf --nth 2.. --reverse --info=inline --tac " local height = os.environ('_ZL_FZF_HEIGHT', '35%') if height ~= nil and height ~= '' and height ~= '0' then fzf_cmd = fzf_cmd .. ' --height ' .. height .. ' '