You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ z -b foo bar # replace foo with bar in cwd and cd there
90
90
91
91
eval "$(lua /path/to/z.lua --init zsh)"
92
92
93
-
Options like "enhanced"and "once" can be used after `--init` too. It can also be initialized from "skywind3000/z.lua" with your zsh plugin managers (antigen / oh-my-zsh).
93
+
Options like "enhanced", "once" and "fzf" can be used after `--init` too. It can also be initialized from "skywind3000/z.lua" with your zsh plugin managers (antigen / oh-my-zsh).
94
94
95
95
**NOTE**: for wsl-1 users, `lua-filesystem` must be installed.
96
96
@@ -380,6 +380,12 @@ Bash is not as powerful as zsh/fish, so we introduced fzf-completion for bash, i
380
380
eval"$(lua /path/to/z.lua --init bash enhanced once echo fzf)"
381
381
```
382
382
383
+
If you want use fzf completion in zsh, initalize your z.lua and append `fzf` keyword after `--init`:
384
+
385
+
```zsh
386
+
eval"$(lua /path/to/z.lua --init zsh enhanced once echo fzf)"
0 commit comments