autocomplete targets after `just -g`
using nixpkgs' just version 1.35.0, just -g <TAB> wont autocomplete any targets even if my justfile is just
golden-test:
nix run .#fastbuild.golden-test
I would expect pressing the tabulation key to show/autocomplete golden-test
Tested with bash and zsh.
Weird, I'm not sure what the issue is here since I don't use nix, and it seems to be working locally for me. Leaving this open in case anyone has any insight.
must be something in my setup then. Thanks for the confirmation. I'll investigate when I have time.
I'm also not getting tab completion with just -g, in my normal fish shell but also zsh/bash. I don't have any nix recipes in my global justfile so it's not that. @teto I think it's worth re-opening this issue.
+1, has same issue
Same here, zsh's auto-complete defaults to the local JustFile when -g (for global) & --justfile flags are set.
To reproduce, just create a justfile in ~/.justfile add dummy commands then try:
I'm kinda new to Just, let me know if I'm doing sth wrong. Else, I managed to patch it locally. I'll hopefully raise a PR soon.