Where Does autojump Store Its Database?
autojump records directory weights in autojump.txt under ~/.local/share/autojump for jump ranking.
Last updated
autojump learns directories into a plain text database under local share in your home folder. Each line pairs a path with its visit weight for ranking. The shell hook updates it on every directory change.
Pruning dead entries happens automatically on load, with manual cleanup through the stats flags. Copying the file between machines transplants habits that may not fit. Let a fresh database learn local patterns instead.
Where autojump stores this, by platform
~/.local/share/autojump/autojump.txt
Path weight pairs learned from cd history. Shell hook writes on every change. Inspect ranking with autojump stats.
~/.local/share/autojump/autojump.txt
Same XDG path on Mac. Case insensitive matching suits the filesystem. Reset by deleting the file with shells closed.
Frequently asked questions
How do I remove a wrong autojump entry?
Delete its line from autojump.txt with shells closed, or lower its weight through jump flags. The hook relearns from future visits. Stale network paths age out on their own.
Can I sync autojump across machines?
Technically by copying the file, but weights rarely transfer well. Distinct machines deserve distinct habits. Keep shell config synced and let data stay local.
Notice an outdated path? Let us know.