mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
completions/minikube: Stringify
This commit is contained in:
parent
c5d5089871
commit
3043d726bf
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ end
|
||||||
|
|
||||||
function __minikube_list_addons
|
function __minikube_list_addons
|
||||||
if set -q argv[1]
|
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
|
else
|
||||||
minikube addons list | string replace -r -- "- ([^:]*): .*" '$1'
|
minikube addons list | string replace -r -- "- ([^:]*): .*" '$1'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue