mirror of
https://github.com/skywind3000/z.lua
synced 2026-03-21 07:09:49 +00:00
Updated FAQ (markdown)
10
FAQ.md
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"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user