mirror of
https://github.com/skywind3000/z.lua
synced 2026-03-30 03:21:28 +00:00
Updated Effective with fzf (markdown)
@@ -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*//')"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user