Skip to content

Instantly share code, notes, and snippets.

@thoughtpolice
Created June 14, 2025 20:17
Show Gist options
  • Save thoughtpolice/3bd59f631fc2ec134f9381503782eee2 to your computer and use it in GitHub Desktop.
Save thoughtpolice/3bd59f631fc2ec134f9381503782eee2 to your computer and use it in GitHub Desktop.
Buck2 completion support for fish
# put this in ~/.config/fish/conf.d/buck2.fish
set -g __buck2_completion_loaded false
function __check_buck2_availability --on-variable PATH
if $__buck2_completion_loaded
return
end
if command -q buck2
buck2 completion fish | source
set -g __buck2_completion_loaded true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment