netlify / cli

Netlify Command Line Interface
http://cli.netlify.com
MIT License
1.56k stars 343 forks source link

Completions don't work #6724

Open alexschcom opened 2 weeks ago

alexschcom commented 2 weeks ago

Describe the bug

I ran netlify completion:install, with the following output:

? Which Shell do you use ? zsh
? We will install completion to ~/.zshrc, is it ok ? Yes
=> Tabtab line already exists in ~/.config/tabtab/__tabtab.zsh file
=> Tabtab line already exists in ~/.zshrc file
=> Wrote completion script to /Users/alex/.config/tabtab/netlify.zsh file

      => Tabtab source line added to ~/.zshrc for netlify package.

      Make sure to reload your SHELL.

Completion for netlify successful installed!

But no completions when tabbing :(

Steps to reproduce

  1. run netlify completion:install
  2. type netlify s
  3. press tab

Completions for serve, sites, status, switch should appear

Configuration

No response

Environment

System: OS: macOS 14.5 CPU: (8) arm64 Apple M1 Memory: 63.78 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.3.0 - /opt/homebrew/bin/node npm: 10.8.1 - /opt/homebrew/bin/npm pnpm: 8.15.6 - /opt/homebrew/bin/pnpm npmGlobalPackages: netlify-cli: 17.29.0