mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 08:13:40 -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
|
||||
|
||||
#### Integration with [z](https://github.com/rupa/z).
|
||||
|
||||
Reference in New Issue
Block a user