docs(kubectx): array keys now need quoting

After merging , keys in the associative array of available contexts now need to be quoted.
This commit is contained in:
Frederik Ring 2024-02-14 11:09:24 +01:00 committed by GitHub
parent f9bbf6047b
commit 4dbcc7eb21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,9 +17,9 @@ One can rename default context name for better readability.
_Example_. Add to **.zshrc**:
```
kubectx_mapping[minikube]="mini"
kubectx_mapping[context_name_from_kubeconfig]="$emoji[wolf_face]"
kubectx_mapping[production_cluster]="%{$fg[yellow]%}prod!%{$reset_color%}"
kubectx_mapping["minikube"]="mini"
kubectx_mapping["context_name_from_kubeconfig"]="$emoji[wolf_face]"
kubectx_mapping["production_cluster"]="%{$fg[yellow]%}prod!%{$reset_color%}"
```
![staging](stage.png)