Open bartenbach opened 6 months ago
Have you tried patching the clap library
Same here
# solana completion -s zsh
thread 'main' panicked at /var/lib/buildkite-agent/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap-2.33.3/src/completions/zsh.rs:407:29:
Fatal internal error. Please consider filing a bug report at https://github.com/clap-rs/clap/issues
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
# solana --version
solana-cli 1.18.17 (src:b685182a; feat:4215500110, client:SolanaLabs)
Why solana-cli depends on this old version of clap ??
this was fixed back in 2020, but unfortunately it seems solana is still in the process of trying to port to clap v3 (which was deprecated in 2022 and current development is for clap v4)
Generating zsh completion appears broken with 1.18.1
Appears to work for all other shells