Commit Graph

2926 Commits (2291458a5a6c9b1140df9152ad624ebc58e5dcad)
 

Author SHA1 Message Date
romkatv 05deaa802f kubecontext: handle strings with spaces and ignore multi-line strings 5 years ago
romkatv 2318bda2c3 bug fixes: don't replace '_' with ' ' in gke clusters and clear the default of POWERLEVEL9K_KUBECONTEXT_SHORTEN 5 years ago
romkatv da7d986333 avoid printing grey text without knowing it's visible on the user's background 5 years ago
romkatv 224b62fbe4 silly typo: '\n' => $'\n'
fixes #140
5 years ago
romkatv 00ec3d16c2 enable all available shortening for kubecontext and enable the segment by default 5 years ago
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.
5 years ago
romkatv 63f72c756f typo 5 years ago
romkatv 3e0c898e59 make fluent prompt less ugly in classic style 5 years ago
romkatv d872930c5c disable prompt_subst 5 years ago
romkatv 742ddb459f better diagnostics for small screens 5 years ago
romkatv deb0093a02 add a screen for selecting background color 5 years ago
romkatv 3ae642c788 enable by default: virtualenv, anaconda, pyenv, nodenv, nvm, nodeenv 5 years ago
romkatv bdc211b64f add nodeenv parameters similar to other envs 5 years ago
romkatv 6e85de122f add an option to insert prefixes similar to spaceship 5 years ago
romkatv 71835e3139 define prompt prefixes 5 years ago
romkatv b830c5cc45 comments 5 years ago
romkatv c93ad39604 specify different context template for root 6 years ago
romkatv 86c52722d9 specify different context template for root 6 years ago
romkatv ba39eb3421 support POWERLEVEL9K_CONTEXT_${state}_TEMPLATE 6 years ago
romkatv bab487aa6e quote process subs 6 years ago
romkatv cdbbebf19d add an option to enable/disable useless icons 6 years ago
romkatv bf5ad6d97a make it easier to enable/disable useless vcs icons from the wizard 6 years ago
romkatv 9a7d86d1f2 fix MULTILINE_*_PREFIX icons for awesome-mapped-fontconfig and remove dollars 6 years ago
romkatv f4cdf0e0eb fix POWERLEVEL9K_DIR_CLASSES 6 years ago
romkatv 2cc7df757b Revert "fork before calling _p9k_init_icons"
This reverts commit 6699d15df9.
6 years ago
romkatv 6699d15df9 fork before calling _p9k_init_icons 6 years ago
romkatv e4f04403d0 add an option to remove frame 6 years ago
romkatv 8038ce4fae remove indentation to make it easier to patch config 6 years ago
romkatv 478ad28810 comments 6 years ago
romkatv c85d1769ef add prompt_char 6 years ago
romkatv a471454b60 make wizard colors work better in Solarized Dark 6 years ago
romkatv 81aa7185e2 update colors to match changes in configs 6 years ago
romkatv f1f485b1c0 revert accidental context change 6 years ago
romkatv f565be5a59 make prompt look nicer in Solarized Dark 6 years ago
romkatv 7b081b13b4 make prompt look nicer in Solarized Dark 6 years ago
romkatv 7f6e74f012 Don't show ram prompt if /proc/meminfo lists not-a-number for MemAvailable.
I've never encountered the case where this commit makes a difference
but it's possible that #136 will get fixed.
6 years ago
romkatv d963f10db9 change EXECUTION_TIME_ICON and NODE_ICON in the default mode; many fonts couldn't render these 6 years ago
romkatv 93f3b976b9 Merge branch 'master' of github.com:romkatv/powerlevel10k 6 years ago
romkatv a1582d4e7c pull upstream changes from gitstatus 6 years ago
Roman Perepelitsa e3f5a1c343
grammar 6 years ago
romkatv 4f94d1d640 typo 6 years ago
romkatv d9e2d122f9 fix bugs in font detection 6 years ago
romkatv d323cad788 print empty line at the end 6 years ago
romkatv 962e9a464b revert background jobs icon 6 years ago
romkatv 3466b385ff expose p9k_configure 6 years ago
romkatv fb88f83c92 add p9k_configure 6 years ago
romkatv c87396abcb add -f and straight 6 years ago
romkatv 84694f3ef2 use default background jobs icon 6 years ago
romkatv 6da969edc1 set separators explicitly 6 years ago
romkatv 4f482aa7e0 better zshrc writing 6 years ago