From a84d0e2c131d1d552f3b930644af8571e0b73b81 Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Sat, 2 Feb 2019 13:15:22 +0100 Subject: [PATCH] add fish completion for -i and -I options --- z.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/z.lua b/z.lua index 70e82a7..1d44c65 100755 --- a/z.lua +++ b/z.lua @@ -1664,6 +1664,8 @@ end complete -c $_ZL_CMD -f -a '(_z_complete)' complete -c $_ZL_CMD -s 'r' -d 'cd to highest ranked dir matching' +complete -c $_ZL_CMD -s 'i' -d 'cd with interactive selection' +complete -c $_ZL_CMD -s 'I' -d 'cd with interactive selection using fzf' complete -c $_ZL_CMD -s 't' -d 'cd to most recently accessed dir matching' complete -c $_ZL_CMD -s 'l' -d 'list matches instead of cd' complete -c $_ZL_CMD -s 'c' -d 'restrict matches to subdirs of $PWD'