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:
2
z.lua
2
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'
|
||||
|
||||
Reference in New Issue
Block a user