1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-20 14:49:55 +00:00

add fish completion for -i and -I options

This commit is contained in:
Daniel Lewan
2019-02-02 13:15:22 +01:00
parent d029ce9172
commit a84d0e2c13

2
z.lua
View File

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