diff --git a/files/fish/functions/mkdir.fish b/files/fish/functions/mkdir.fish new file mode 100644 index 0000000..848bf90 --- /dev/null +++ b/files/fish/functions/mkdir.fish @@ -0,0 +1,4 @@ +function mkdir --description 'alias mkdir mkdir -p' + command mkdir -p $argv + +end diff --git a/files/omp/main.omp.yaml b/files/omp/main.omp.yaml index cd979a5..63ab276 100644 --- a/files/omp/main.omp.yaml +++ b/files/omp/main.omp.yaml @@ -17,7 +17,7 @@ blocks: - <<: *diamond background: "#ffffff" foreground: "#000000" - template: "{{ if .WSL }}WSL at {{ end }}{{.Icon}}" + template: "{{ if .WSL }}WSL at {{ end }}{{.Icon}} " type: os - <<: *powerline type: root @@ -63,8 +63,12 @@ blocks: style: diamond template: " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " type: node - - <<: *powerline - type: kubectl + - type: kubectl + template: "{{ .Context }}{{ if .Namespace }}::{{ .Namespace }}{{ end }} " + background: "#7FD5EA" + foreground: "#000000" + style: diamond + leading_diamond: "" # UTILITY - <<: *diamond @@ -76,7 +80,7 @@ blocks: type: executiontime properties: style: round - threshold: 1 + always_enabled: true background: "#82eeff" foreground: "#000000" - <<: *powerline