-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
getcroc installer reports "main: line 724: autocomplete_install_rcode: unbound variable" #393
Comments
Which shell? |
Independent if I'm calling it from a fish or bash instance. fish is my default. Nevertheless: The command pipes always into bash. So I'm a little confused by your question. You mean which bash version is shipped with focal? |
I need as much information as possible. I cannot reproduce this under Ubuntu 20.04:
|
Hmmm… First – First, failed reproducer causing different error…I just tried in a docker container and got a different error …
Installing Pinpointing the issueThis seems to be my original issue:
|
So Line 715 in 340bafb
/etc/passwd and produces the error on any entry other than bash or zsh .
|
^ above commit fixes the installation problem. The lack of auto completion for fish shells is another problem. Looks like it is available though: urfave/cli#848 |
Describe the bug
On an Ubuntu 20.04 environment running the installer script causes the following error message. Croc seems to be accessible afterwards so the installation seems to work. I have no clue about the side-effects of this error.
To Reproduce
Steps to reproduce the behavior:
curl https://getcroc.schollz.com | bash
Expected behaviour
No error message appears
The text was updated successfully, but these errors were encountered: