1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-21 07:09:49 +00:00

Updated FAQ (markdown)

Linwei
2019-02-20 15:51:43 +08:00
parent d0c7622fde
commit 8a7cc19279

10
FAQ.md

@@ -45,3 +45,13 @@ for zsh:
These two scripts above can be used for pre-warm `.zlua` database.
## Define your own -I behavior
Define a new `zf2` shell function to override `z -I`:
```bash
function zf2() {
local $dest="$(z -l "$@" | fzf --nth 2 --reverse --inline-info --tac +s -e --height 35%)"
[ -n "$dest" ] && cd "$dest"
}
```