mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue