From 3043d726bf83e210f323f54b16c97a75e10f6b82 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 14 Mar 2019 12:46:48 +0100 Subject: [PATCH] completions/minikube: Stringify --- share/completions/minikube.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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