added shell prefix for nix shells and some nix changes
This commit is contained in:
@@ -40,6 +40,12 @@ template = '''
|
|||||||
foreground = 'yellow'
|
foreground = 'yellow'
|
||||||
template = '{{ if .Env.VIRTUAL_ENV }}🐍 venv <grey>|</> {{ end }}'
|
template = '{{ if .Env.VIRTUAL_ENV }}🐍 venv <grey>|</> {{ end }}'
|
||||||
|
|
||||||
|
[[blocks.segments]] # Nix shell indicator
|
||||||
|
type = 'text'
|
||||||
|
style = 'plain'
|
||||||
|
foreground = 'blue'
|
||||||
|
template = '{{ if .Env.IN_NIX_SHELL }} nsh <grey>|</> {{ end }}'
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
template = '{{ .Path }}'
|
template = '{{ .Path }}'
|
||||||
foreground = 'blue'
|
foreground = 'blue'
|
||||||
|
|||||||
2
.nixos
2
.nixos
Submodule .nixos updated: fea8fde271...ae3dbafe8b
Reference in New Issue
Block a user