fix(fish): complete Bazel labels without query #5

Merged
alexion merged 2 commits from fish-bazel-completion into main 2026-09-02 11:42:28 -04:00
Owner

Summary

  • Add a fish completion file for Bazel labels that scans local BUILD files instead of running bazel query.
  • Filter target completions by subcommand for test, coverage, and run.
  • Remove committed direnv state and ignore .envrc files.

Tests

  • fish -c 'source configs/nixos/modules/shell/fish/completions/bazel.fish; complete -C "bazel test //src/machoke:"'
  • nix eval --impure --raw --expr '(builtins.getFlake "git+file:///home/alexion/dev").nixosConfigurations.neogaia.config.home-manager.users.alexion.xdg.configFile."fish/completions/bazel.fish".source'
## Summary - Add a fish completion file for Bazel labels that scans local `BUILD` files instead of running `bazel query`. - Filter target completions by subcommand for `test`, `coverage`, and `run`. - Remove committed direnv state and ignore `.envrc` files. ## Tests - `fish -c 'source configs/nixos/modules/shell/fish/completions/bazel.fish; complete -C "bazel test //src/machoke:"'` - `nix eval --impure --raw --expr '(builtins.getFlake "git+file:///home/alexion/dev").nixosConfigurations.neogaia.config.home-manager.users.alexion.xdg.configFile."fish/completions/bazel.fish".source'`
alexion added 2 commits 2026-09-02 10:58:36 -04:00
alexion merged commit 232ca72b69 into main 2026-09-02 11:42:28 -04:00
alexion deleted branch fish-bazel-completion 2026-09-02 11:42:28 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alexion/dev#5