diff --git a/share/completions/minikube.fish b/share/completions/minikube.fish index 81b974bac..fff7cf999 100644 --- a/share/completions/minikube.fish +++ b/share/completions/minikube.fish @@ -67,7 +67,7 @@ end function __minikube_list_addons if set -q argv[1] - minikube addons list | grep $argv[1] | string replace -r -- "- ([^:]*): .*" '$1' + minikube addons list | string match -- "*$argv[1]*" | string replace -r -- "- ([^:]*): .*" '$1' else minikube addons list | string replace -r -- "- ([^:]*): .*" '$1' end