diff --git a/FAQ.md b/FAQ.md index fb99747..9210ec6 100644 --- a/FAQ.md +++ b/FAQ.md @@ -3,7 +3,7 @@ [fz](https://github.com/changyuheng/fz) is a bash/zsh plugin that seamlessly adds fuzzy search to tab completion of z.sh. `z.lua` can work with it for better completion result, just define a `_z` function and pass all the arguments to `_zlua` before sourcing fz.sh: ```bash -function _z() { _zlua "$@"; } +FZ_HISTORY_CD_CMD="_zlua" source /path/to/fz.sh ```