fixed weird color shit in oh-my-posh and changed nixos wivrn stuff
This commit is contained in:
@@ -27,7 +27,7 @@ template = '''
|
||||
{{- if $part -}}
|
||||
{{- $sub := split "/" $part -}}
|
||||
{{- if eq (len $sub) 2 -}}
|
||||
<{{ index $sub "_1" }}>{{ index $sub "_0" }}</> <#7f849c>| </>
|
||||
<{{ index $sub "_1" }}>{{ index $sub "_0" }}</> <#7f849c>| </>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
@@ -37,14 +37,12 @@ template = '''
|
||||
[[blocks.segments]] # Python venv
|
||||
type = 'text'
|
||||
style = 'plain'
|
||||
foreground = 'yellow'
|
||||
template = '{{ if .Env.VIRTUAL_ENV }}🐍 venv <grey>|</> {{ end }}'
|
||||
template = '{{ if .Env.VIRTUAL_ENV }}<yellow>🐍 venv</> <#7f849c>|</> {{ end }}'
|
||||
|
||||
[[blocks.segments]] # Nix shell indicator
|
||||
type = 'text'
|
||||
style = 'plain'
|
||||
foreground = 'blue'
|
||||
template = '{{ if .Env.IN_NIX_SHELL }} nsh <grey>|</> {{ end }}'
|
||||
template = '{{ if and .Env.IN_NIX_SHELL (not .Env.DEVSHELL_NAME) }}<blue> nsh</> <#7f849c>|</> {{ end }}'
|
||||
|
||||
[[blocks.segments]]
|
||||
template = '{{ .Path }}'
|
||||
|
||||
2
.nixos
2
.nixos
Submodule .nixos updated: 4f14a61b6b...80f5b4a8f2
Reference in New Issue
Block a user