1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 10:22:00 +00:00

docs(kubectx): fix README sample code syntax (#10199)

This commit is contained in:
Ken Crawford 2021-09-17 17:33:12 -04:00 committed by GitHub
parent eba3be243f
commit 4d7f0cfb47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ 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%}"
``` ```