Files
dotfiles/ohmyposh/.ohmyposhconfig.yaml
joakim 4eb93b7640 Initial commit
Dotfiles managed with GNU Stow: Hyprland (Lua config), Neovim, zsh,
tmux, ghostty, alacritty, waybar, yazi, lazygit, herdr, Claude Code.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-12 18:02:28 +02:00

37 lines
870 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
version: 3
final_space: true
blocks:
- type: prompt
alignment: left
segments:
- type: path
style: plain
foreground: blue
background: transparent
template: "{{ .Path }}"
properties:
style: folder
- type: git
style: plain
foreground: green
background: transparent
template: " {{ .HEAD }}{{ if .Working.Changed }}*{{ end }}"
properties:
fetch_status: true
- type: text
style: plain
foreground_templates:
- "{{if gt .Code 0}}red{{end}}"
- "{{if eq .Code 0}}white{{end}}"
background: transparent
template: " "
transient_prompt:
template: " "
background: transparent
foreground_templates:
- "{{if gt .Code 0}}red{{end}}"
- "{{if eq .Code 0}}white{{end}}"