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

command not found: compdef error when installing on zsh #1320

Open
thanhlim opened this issue Dec 18, 2024 · 1 comment
Open

command not found: compdef error when installing on zsh #1320

thanhlim opened this issue Dec 18, 2024 · 1 comment

Comments

@thanhlim
Copy link

What happened?

% curl https://qlty.sh/ | sh

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9484  100  9484    0     0  25463      0 --:--:-- --:--:-- --:--:-- 25494
######################################################################## 100.0%
qlty was installed successfully to ~/.qlty/bin/qlty 

Added "~/.qlty/bin" to $PATH in "~/.zshrc" 

To get started, run: 

  exec /bin/zsh 
  qlty --help
% exec /bin/zsh 
/opt/homebrew/share/zsh/site-functions/_qlty:1931: command not found: compdef
thanhlim@ip-192-168-1-56 starter-python % qlty --help
This is qlty, the Qlty command line interface.

Usage: qlty [OPTIONS] [COMMAND]

Commands:
  cache        Manage cache
  check        Run linters
...

Not sure what qlty needs with compdef, but filed here in case there was something needed.

What did you expect to happen?

No errors on install.

Can you reproduce the problem?

Yes, consistently

CLI Version

qlty 0.463.0 macos-arm64 (e906f76/e906f76 2024-12-10)

Relevant log output

@brynary
Copy link
Member

brynary commented Dec 18, 2024

Thanks, @thanhlim. We believe this is a legitimate bug as mentioned in Discord.

I see you are running on MacOS with ARM. Can you please share your Zsh version and your MacOS version as well?

We will try to reproduce

@brynary brynary changed the title Bug: Installation os zsh shell has bug on install command not found: compdef error when installing on zsh Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants