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

gcloud: Killed by signal in _gcloud_completion after 0s #2658

Closed
2 of 12 tasks
polo871209 opened this issue Dec 24, 2024 · 1 comment · Fixed by #2659
Closed
2 of 12 tasks

gcloud: Killed by signal in _gcloud_completion after 0s #2658

polo871209 opened this issue Dec 24, 2024 · 1 comment · Fixed by #2659
Labels
bug Something isn't working darwin fund Fundable with polar.sh zsh

Comments

@polo871209
Copy link

polo871209 commented Dec 24, 2024

Current Behavior

Hi Community,

Here is my current .zshrc:

# Auto Complete
export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense'
zstyle ':completion:*' menu select
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
zstyle ':completion:*' format $'\e[2;37mCompleting %d\e[m'
source <(carapace _carapace)

When I type gcloud than tab, here is the output

gcloud
exit status 1

When I Ctrl C out of the completion, here is the error

gcloud
Killed by signal in _gcloud_completion after 0s

Expected Behavior

No response

Steps To Reproduce

carapace --version
carapace-bin 1.1.0

Version

carapace-bin 1.1.0

OS

  • Darwin
  • Linux
  • Termux
  • Windows

Shell

  • Bash
  • Elvish
  • Fish
  • Nushell
  • Oil
  • Powershell
  • Xonsh
  • Zsh

Anything else?

No response

Polar

Fund with Polar
@polo871209 polo871209 added bug Something isn't working fund Fundable with polar.sh labels Dec 24, 2024
@rsteube
Copy link
Member

rsteube commented Dec 24, 2024

Urks, so this is due to carapace-sh/carapace-bridge#212 .
argomplete used file descriptors for output that aren't available in powershell/windows (fd 8/9).
Recent versions allow setting an environment variable to use a file instead.

gcloud must still be on an old version of argcomplete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working darwin fund Fundable with polar.sh zsh
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants