mirror of
https://github.com/skywind3000/z.lua
synced 2026-10-26 10:34:27 +00:00
Define fzf as an option
This commit is contained in:
1 parent
69ad680b68
commit
bc0403e5c7
1 file changed
+7
-1
@@ -32,6 +32,10 @@
|
||||
-- * put something like this in your .bashrc:
|
||||
-- eval "$(lua /path/to/z.lua --init bash enhanced)"
|
||||
--
|
||||
-- Bash fzf tab completion Mode:
|
||||
-- * put something like this in your .bashrc:
|
||||
-- eval "$(lua /path/to/z.lua --init bash fzf)"
|
||||
--
|
||||
-- Zsh Install:
|
||||
-- * put something like this in your .zshrc:
|
||||
-- eval "$(lua /path/to/z.lua --init zsh)"
|
||||
@@ -1925,7 +1929,9 @@ function z_shell_init(opts)
|
||||
end
|
||||
end
|
||||
print(script_complete_bash)
|
||||
print(script_fzf_complete_bash)
|
||||
if opts.fzf ~= nil then
|
||||
print(script_fzf_complete_bash)
|
||||
end
|
||||
elseif opts.zsh ~= nil then
|
||||
if prompt_hook then
|
||||
print(once and script_init_zsh_once or script_init_zsh)
|
||||
|
||||
Reference in new issue
Block a user