mkdir and omp theme

This commit is contained in:
cupcakearmy 2023-03-07 00:04:41 +01:00
parent 2d5d7cc29c
commit 8fc5062d40
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
2 changed files with 12 additions and 4 deletions

View File

@ -0,0 +1,4 @@
function mkdir --description 'alias mkdir mkdir -p'
command mkdir -p $argv
end

View File

@ -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 }} <transparent></>"
type: node
- <<: *powerline
type: kubectl
- type: kubectl
template: "{{ .Context }}{{ if .Namespace }}::{{ .Namespace }}{{ end }} <transparent></>"
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