bloop
bloop copied to clipboard
Autocompletion instructions don't explain how to get autocomplete scripts
I've run through the steps for installing bloop, but the instructions for command completions seem to be missing any info explaining how to actually get the scripts downloaded or initialized in ~/.bloop.
Currently, on https://scalacenter.github.io/bloop/setup#command-line-completions, it says:
Command-Line Completions
Bloop supports command-line completions in bash, zsh and fish. The use of command-line autocompletions is recommended as it significantly improves the user experience. The installation of autocompletions via curl requires you to configure the completions manually.
Note that the following instructions assume that the bloop installation directory is the default $HOME/.bloop.
And then gives instructions for how to source the relevant rc files. But this .bloop directory has not been created automatically for me, and I've not been able to find any instructions explaining where the completions should be curled from etc.
This is my first issue on this repo, so I'd like to also note that finding bloop has been a life saver: It's reduced the pain of working on our codebase by at least %70. Many thanks for for your work!
I seem to remember something about these not being included in every release or not in every installation method.
For bash you can create a blank file ~/.bloop/bash/bloop and copy the contents of bash-completions into it. Then add to your ~/.bash_profile as it says. The other completions seem to be in that same repo dir but I haven't tried them
Thank you for the tip! This will help me, and likely will help others until the solution is documented :)