diff --git a/.config/oh-my-posh/zen.toml b/.config/oh-my-posh/zen.toml index 0364db0c..d62e0c8f 100644 --- a/.config/oh-my-posh/zen.toml +++ b/.config/oh-my-posh/zen.toml @@ -40,6 +40,12 @@ template = ''' foreground = 'yellow' template = '{{ if .Env.VIRTUAL_ENV }}🐍 venv | {{ end }}' + [[blocks.segments]] # Nix shell indicator + type = 'text' + style = 'plain' + foreground = 'blue' + template = '{{ if .Env.IN_NIX_SHELL }} nsh | {{ end }}' + [[blocks.segments]] template = '{{ .Path }}' foreground = 'blue' diff --git a/.nixos b/.nixos index fea8fde2..ae3dbafe 160000 --- a/.nixos +++ b/.nixos @@ -1 +1 @@ -Subproject commit fea8fde271b82f4e3abaa08d5406d0ab9372739e +Subproject commit ae3dbafe8b371ce2e5014761dc9e729aefcbb61d