Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed installing bash completion on WSL #307

Open
mato-a opened this issue Oct 11, 2024 · 0 comments
Open

Failed installing bash completion on WSL #307

mato-a opened this issue Oct 11, 2024 · 0 comments

Comments

@mato-a
Copy link

mato-a commented Oct 11, 2024

Failed installing bash completion on WSL (Deno v2.0.0):

warning: Failed to install completions for bash: PermissionDenied: Permission denied (os error 13): mkdir '/usr/local/etc/bash_completion.d'
Run 'deno --help' to get started

Stuck? Join our Discord https://discord.gg/deno
$ echo $XDG_DATA_HOME

$ echo $BASH_COMPLETION_USER_DIR

$

According to https://github.com/scop/bash-completion/blob/main/README.md#faq, this local path ~/.local/share/bash-completion could be tried instead. Or the installation script could suggest running it instead:

mkdir -p ~/.local/share/bash-completion
deno completions bash > ~/.local/share/bash-completion/deno
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant