-
Notifications
You must be signed in to change notification settings - Fork 707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Surprisingly large score #566
Comments
Hmm, autojump works by using shell hooks to detect when a directory has been visited and increments that entry. If you're running command line actions that changes the working directory often or regularly then it'll trigger the hook and increment the automount path. While I can't think of an improvement for the working directory hook, this does seem like more of an argument for an ignore list to block certain paths. |
It's rather unlikely that it was caused by a script. Even the score increases linearly, assuming one run of such a script changing cwd takes 10ms, it would take 776601683796 / 10 * 0.1 / 86400 / 365 ≈ 246 years to gain such a high score. Actually the score jumped from |
This might have the same cause as #391 and I've checked that my |
Thanks for following up and lemme know if that doesn't fix the issue! |
Hi, I don't think I can reproduce this, but report here anyway to let you know. While debugging why my automount is triggered, I find that a now-non-existent path on my automount point has a surprisingly large score: 776601683796.0. This is a very old path and I didn't visit it much when it existed.
(I've manually removed this entry and autojump no longer unnecessarily visits my automount point 👍)
The text was updated successfully, but these errors were encountered: