Back to Oh My Posh

Nix Shell

website/docs/segments/cli/nix-shell.mdx

29.12.0826 B
Original Source

What

Displays the nix shell status if inside a nix-shell environment.

Sample Configuration

import Config from "@site/src/components/Config.js";

<Config data={{ type: "nix-shell", style: "powerline", foreground: "blue", background: "transparent", template: "(\udb84\udd05-{{ .Type }})", }} />

Template (info)

:::note default template

template
via {{ .Type }}-shell"

:::

Properties

NameTypeDescription
.Typestringthe type of nix shell, can be pure, impure or unknown