I'm using ZSH, oh-my-zsh, and just. If I'm in the root of my directory that contains a justfile, type just, and then press tab, it doesn't autocomplete.
But if I exec zsh in terminal and then do just <tab>, it works correctly. How can I fix this? How can I make it so just autocompletes without needing to exec zsh?
Note: This question applies to anything installed with home brew
I found the solution in the
justproject README. I had searched this many times before and hadn't found the solution. The README must have been recently updated.Add the following to your
.zshrc:Note: This solution works generically for anything installed with home brew