-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Completions don't work #6724
Comments
@dylanspyer and I had this issue too on zsh. There are at least two issues that might cause completion to fail
This PR attempts to address both of these issues by:
|
Hey @benhancock — So I just made sure everything's set up according to what you said, but unfortunately completions still don't appear. The only thing I noticed was that the completion script for me was located at |
Hey @alexschcom, is this even after running If so, when you view the contents of If the compinit line is at the top and completions still aren't working, would you care to post the contents of your |
@benhancock Yes to both. Here's my HISTSIZE=1000
SAVEHIST=10000
PATH="$PATH:/Users/alex/Code/shell_scripts"
PATH="$PATH:/Users/alex/woff2/out"
export PATH=$PATH
# autojump
[[ -s /Users/alex/.autojump/etc/profile.d/autojump.sh ]] && source /Users/alex/.autojump/etc/profile.d/autojump.sh
autoload -U compinit; compinit
# tabtab source for packages
# uninstall by removing these lines
[[ -f ~/.config/tabtab/__tabtab.zsh ]] && . ~/.config/tabtab/__tabtab.zsh || true
# iTerm2 shell integration
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# Set up fzf key bindings and fuzzy completion
source <(fzf --zsh)
# Oh My Zsh
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
DISABLE_AUTO_TITLE="true"
ENABLE_CORRECTION="true"
plugins=(git zsh-syntax-highlighting zsh-autosuggestions aliases)
source $ZSH/oh-my-zsh.sh Note I have tried moving the |
Hey @alexschcom, I installed Oh My Zsh with your plugins and theme and using the same
A couple suggestions:
|
Hey @benhancock, first of all, thanks a lot for your effort! I reset the OMZ completion cache and completions now work with the |
Good to hear! I'm also seeing that completions don't work with the I'm not sure about npm vs homebrew, but I wonder why npm put your netlify-cli installation in |
Describe the bug
I ran
netlify completion:install
, with the following output:But no completions when tabbing :(
Steps to reproduce
netlify completion:install
netlify s
Completions for
serve
,sites
,status
,switch
should appearConfiguration
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
The text was updated successfully, but these errors were encountered: