1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00
powerlevel10k/internal
romkatv 5bcbee96e4 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.
2019-07-29 21:56:15 +02:00
..
configure.zsh disable prompt_subst 2019-07-29 17:45:53 +02:00
icons.zsh comments 2019-07-29 15:32:42 +02:00
p10k.zsh add optional kubecontext shortening for gke and eks contexts 2019-07-29 21:56:15 +02:00
wizard.zsh typo 2019-07-29 19:50:01 +02:00