1
0
mirror of https://github.com/akelge/zsh synced 2025-12-15 14:45:12 +00:00

Fixes for OMP prompts and for default PATH

This commit is contained in:
2021-12-17 09:14:01 +01:00
parent 0ae9cfdb9e
commit 51bd0516d6
8 changed files with 185 additions and 13 deletions

View File

@ -47,13 +47,13 @@ blocks:
- type: executiontime
style: plain
foreground: lightBlue
foreground: darkGray
properties:
always_enabled: false
postfix: ""
prefix: "\uF017 "
style: austin
threshold: 3000
threshold: 30000
- type: prompt
alignment: right
@ -63,9 +63,9 @@ blocks:
style: plain
foreground: yellow
properties:
postfix: " "
# prefix:
prefix: "\uF270"
postfix: ""
# prefix: " "
prefix: "\u2601 "
template: '{{if .Profile}}{{.Profile}}{{end}}'
- type: kubectl
@ -74,7 +74,7 @@ blocks:
properties:
parse_kubeconfig: true
postfix: ""
prefix: ""
prefix: " "
template: '{{if eq "on" .Env.KUBE_PS1_ENABLED}}ﴱ {{.Context}}/{{if .Namespace}}{{.Namespace}}{{else}}default{{end}}{{end}}'
# - type: command