4 ms·
how do I use it with autojump?
by wetpaws 4y ago
how do I use it with autojump?
- BeetleB 4y agoautojump -s gets you the entries in the database. You have to parse it to extract the directories without all the metadata it spits out. Then you probably need to write a shell function in your preferred shell to tie the pieces together, as well as assign it to a keybinding. It's not too hard. I use xonsh for my shell, so my config probably won't help. And doing it in xonsh is probably a lot messier than doing it in Bash.
- dw_arthur 4y agoHere is the autojump function for fzf/bash https://github.com/junegunn/fzf/wiki/examples#autojump https://github.com/junegunn/fzf/wiki/examples#autojump You'll have to comment out the j() function in /usr/share/autojump/autojump.sh