mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 00:53:42 -05:00
adding autojump integration
13
Examples.md
13
Examples.md
@@ -787,6 +787,19 @@ Fish like interactive tab completion for cd in zsh.
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
### autojump
|
||||||
|
|
||||||
|
### Integration with [autojump](https://github.com/wting/autojump)
|
||||||
|
```sh
|
||||||
|
j() {
|
||||||
|
if [[ "$#" -ne 0 ]]; then
|
||||||
|
autojump $@
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
cd "$(autojump -s | sed '/_____/Q; s/^[0-9,.:]*\s*//' | fzf --height 40% --nth 1.. --reverse --inline-info +s --tac --query "${*##-* }" )"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### z
|
### z
|
||||||
|
|
||||||
#### Integration with [z](https://github.com/rupa/z).
|
#### Integration with [z](https://github.com/rupa/z).
|
||||||
|
|||||||
Reference in New Issue
Block a user