made oh my posh way better
This commit is contained in:
Submodule .config/nvim updated: f5b4ee85a4...3a71912e22
@@ -17,6 +17,24 @@ final_space = true
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'text'
|
||||
style = 'plain'
|
||||
foreground = '#89dceb' # Nix Blue
|
||||
template = '{{ if hasPrefix "flake-" .Env.name }} flake <#7f849c>|</> {{ end }}'
|
||||
|
||||
[[blocks.segments]] # Rust nix shell
|
||||
type = 'text'
|
||||
style = 'plain'
|
||||
foreground = 'red'
|
||||
template = '{{ if contains "rustshell-env" .Env.name }}🦀 rustproject <#7f849c>|</> {{ end }}'
|
||||
|
||||
[[blocks.segments]] # Python venv
|
||||
type = 'text'
|
||||
style = 'plain'
|
||||
foreground = 'yellow'
|
||||
template = '{{ if .Env.VIRTUAL_ENV }}🐍 venv <grey>|</> {{ end }}'
|
||||
|
||||
[[blocks.segments]]
|
||||
template = '{{ .Path }}'
|
||||
foreground = 'blue'
|
||||
@@ -29,8 +47,8 @@ final_space = true
|
||||
style = 'full'
|
||||
|
||||
[[blocks.segments]]
|
||||
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
|
||||
foreground = 'p:grey'
|
||||
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}<yellow> *</>{{ end }} <cyan>{{ if gt .Behind 0 }}{{ end }}{{ if gt .Ahead 0 }}{{ end }}</>'
|
||||
foreground = 'green'
|
||||
background = 'transparent'
|
||||
type = 'git'
|
||||
style = 'plain'
|
||||
|
||||
2
.nixos
2
.nixos
Submodule .nixos updated: 8ca322be98...454977900e
Reference in New Issue
Block a user