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

2.0.0: bash auto-completion is broken #89

Open
GuybrushX opened this issue Jul 22, 2023 · 0 comments
Open

2.0.0: bash auto-completion is broken #89

GuybrushX opened this issue Jul 22, 2023 · 0 comments
Labels
bug Something isn't working triage

Comments

@GuybrushX
Copy link

GuybrushX commented Jul 22, 2023

# Linux/Distri Version
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal

# System Information
$ uname -a
Linux hostname 5.4.0-153-generic #170-Ubuntu SMP Fri Jun 16 13:43:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

# Casper Client Version
$ casper-client -V
Casper client 2.0.0-438b660

# Generating the bash auto-completion script
$ sudo casper-client generate-completion
[sudo] password for XXX:
Wrote completion script for bash to /usr/share/bash-completion/completions

# Manually dot sourcing the generated file gives an error
$ . /usr/share/bash-completion/completions/casper-client
-bash: /usr/share/bash-completion/completions/casper-client: line 15: syntax error near unexpected token `client,account-address'
-bash: /usr/share/bash-completion/completions/casper-client: line 15: `            Casper client,account-address)'

So the current casper-client broke another existing feature.

I compared the generated file quickly to one from I think V 1.6 and it looks totally different.

@MParlikar MParlikar added bug Something isn't working triage labels Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants