mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 09:13:35 +01:00
docs(kubectx): add quoting to array keys (#12216)
This commit is contained in:
parent
f9bbf6047b
commit
872b5cd408
@ -17,9 +17,9 @@ One can rename default context name for better readability.
|
|||||||
|
|
||||||
_Example_. Add to **.zshrc**:
|
_Example_. Add to **.zshrc**:
|
||||||
```
|
```
|
||||||
kubectx_mapping[minikube]="mini"
|
kubectx_mapping["minikube"]="mini"
|
||||||
kubectx_mapping[context_name_from_kubeconfig]="$emoji[wolf_face]"
|
kubectx_mapping["context_name_from_kubeconfig"]="$emoji[wolf_face]"
|
||||||
kubectx_mapping[production_cluster]="%{$fg[yellow]%}prod!%{$reset_color%}"
|
kubectx_mapping["production_cluster"]="%{$fg[yellow]%}prod!%{$reset_color%}"
|
||||||
```
|
```
|
||||||
|
|
||||||
![staging](stage.png)
|
![staging](stage.png)
|
||||||
|
Loading…
Reference in New Issue
Block a user