Created
June 14, 2025 20:17
-
-
Save thoughtpolice/3bd59f631fc2ec134f9381503782eee2 to your computer and use it in GitHub Desktop.
Buck2 completion support for fish
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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