m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-16 23:33:39 -05:00

add autojump fzf preview

Tru
2023-03-21 01:59:39 +08:00
parent fdbc141b6c
commit 11fe73a226

@@ -1640,6 +1640,9 @@ function cd() {
#### Integration with [autojump](https://github.com/wting/autojump) #### Integration with [autojump](https://github.com/wting/autojump)
like normal autojump when used with arguments but displays an fzf prompt when used without like normal autojump when used with arguments but displays an fzf prompt when used without
<img width="1491" alt="image" src="https://user-images.githubusercontent.com/1673006/226426683-f5851d28-0e30-476f-a63a-9a9958579b59.png">
```sh ```sh
j() { j() {
local preview_cmd="ls {2}" local preview_cmd="ls {2}"