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

Updated Effective with fzf (markdown)

Linwei
2021-01-22 04:32:10 +08:00
parent b7e4cbc8cb
commit 16ee2786cb

@@ -66,7 +66,7 @@ Define a new `zii` shell function to override `z -I`:
```bash
function zii() {
local $dir="$(z -l "$@"|fzf --nth 2.. --reverse --inline-info --tac +s -e --height 35%)"
[ -n "$dir" ] && cd "$dir"
[ -n "$dir" ] && cd "$(echo $dir | sed -e 's/^\S*\s*//')"
}
```