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

Autocomplete: __minikube_handle_flag:29: bad math expression: operand expected at end of string #19083

Open
RobbeVW opened this issue Jun 17, 2024 · 0 comments

Comments

@RobbeVW
Copy link

RobbeVW commented Jun 17, 2024

What Happened?

After installing autocomplete for ZSH, autocompletion throws __minikube_handle_flag:29: bad math expression: operand expected at end of string

	$ minikube completion zsh > ~/.minikube-completion  # for zsh users
	$ source ~/.minikube-completion

.zshrc


autoload -Uz compinit
compinit

# Load Angular CLI autocompletion.
source <(ng completion script)

# Minikube
source <(minikube completion zsh)  # This ensures Minikube completion is sourced
source <(kubectl completion zsh)

alias kubectl="minikube kubectl --"
alias k="minikube kubectl --"

# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/robbe.vanwortswinkel/Documents/google-cloud-sdk 2/path.zsh.inc' ]; then . '/Users/robbe.vanwortswinkel/Documents/google-cloud-sdk 2/path.zsh.inc'; fi

# The next line enables shell command completion for gcloud.
if [ -f '/Users/robbe.vanwortswinkel/Documents/google-cloud-sdk 2/completion.zsh.inc' ]; then . '/Users/robbe.vanwortswinkel/Documents/google-cloud-sdk 2/completion.zsh.inc'; fi

Attach the log file

log.txt

Operating System

macOS (Default)

Driver

Docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant