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

chalk autocomplete feature not working #80

Open
indecisivedragon opened this issue Oct 25, 2023 · 1 comment
Open

chalk autocomplete feature not working #80

indecisivedragon opened this issue Oct 25, 2023 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@indecisivedragon
Copy link
Contributor

Description

On a linux machine, chalk should support autocomplete when tab is pressed, however this does not seem to be working.

Impact

Makes usage more annoying, especially when trying to point chalk towards a local file.

Steps to Reproduce

  1. have a working copy of chalk
  2. when trying to autocomplete (without any input) the following bash error happens:
liming@system76-pc:~/workspace/chalk$ ./chalk load bash: [: =: unary operator expected
bash: [: =: unary operator expected
  1. when trying to autocomplete with input:
liming@system76-pc:~/workspace/chalk$ ./chalk load ./

nothing comes up for the autocomplete.

@indecisivedragon indecisivedragon added the bug Something isn't working label Oct 25, 2023
@miki725
Copy link
Collaborator

miki725 commented Mar 14, 2024

I get this error:

[root@earth chalk]# source /root/.local/share/bash_completion/completions/chalk.bash
[root@earth chalk]# chalk bash: _get_comp_words_by_ref: command not found

I normally use fish as my shell and therefore dont interact with bash... but looks like things are not working as expected there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants