Open r0c opened 7 years ago
meet the same problem
I'm experiencing the same issue
Same issue for me, using Bash 4 on macOS 10.12. Autojump version is 22.5.1. My .bashrc is set up according to the recommendations and there were no installation issues. Whenever I change to another directory, it's not added to the autojump.txt file.
I have it working just fine so this has to be something specific to your environment. Make sure your user has the right to write to ~/Library/autojump/autojump.txt
.
Turns out the issue was with my PROMPT_COMMAND
being set to something else; should have thought of this but I'd installed autojump well after setting my prompt command. I wonder if it'd be beneficial to not only have this warning in the manpage but also in the post-install text when installing via Homebrew?
That problem is specified in the man already (under Known issues). You could probably propose a pull request to homebrew (the file to change is https://github.com/Homebrew/homebrew-core/blob/b211145/Formula/autojump.rb#L26)
This helped me https://github.com/wting/autojump/issues/511#issuecomment-362142038:
You have to cd <dirname>
first than autojump will remember it for you the next time you call j <dirname>
I have tried to install autojump via homebrew and manual steps, both not working. There are no errors reported during the installation stage, but no double-underscore are shown after I press tab twice.
Hope the following info can help the debugging.
shell version:
autojump version:
where is autojump installed:
what's the definition of j
Please let me know if any info are missing here.