diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-07-29 22:56:15 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-07-29 22:56:15 +0300 |
commit | 5bcbee96e4d9dadaeff5b5cc8efd58f368820e46 (patch) | |
tree | 7d5c170f8786ad42cfd29cfb9f8601afed5ed90a /config/p10k-lean.zsh | |
parent | 63f72c756fa31734add160bd26627bf6f9d22cd3 (diff) |
add optional kubecontext shortening for gke and eks contexts
This is done via an optional array parameter that lists
shortening stragies to be applied. Currently there are
only two supported strategies: 'gke' and 'eks'.
# Shorten gke and eks cluster names:
#
# - gke_projectname_availability-zone_cluster-01 => cluster-01
# - arn:aws:eks:us-east-1:XXXXXXXXXXXX:cluster/eks-infra => eks-infra
#
# This transformation is applied before class matching and content
# expansion.
POWERLEVEL9K_KUBECONTEXT_SHORTEN=(gke eks)
For https://github.com/romkatv/powerlevel10k/issues/139.
Diffstat (limited to 'config/p10k-lean.zsh')
0 files changed, 0 insertions, 0 deletions