diff --git a/private_dot_config/starship.toml.tmpl b/private_dot_config/starship.toml.tmpl index a5f5e55..1ef2b6c 100644 --- a/private_dot_config/starship.toml.tmpl +++ b/private_dot_config/starship.toml.tmpl @@ -91,9 +91,9 @@ format = '[[ $symbol($version)](fg:#769ff0 bg:#212736)]($style)' [custom.os] {{ if eq .chezmoi.os "linux" }} -command = 'echo {{ .chezmoi.osRelease.prettyName }}' +command = 'echo "{{ .chezmoi.osRelease.prettyName }}"' {{ else if eq .chezmoi.os "windows" }} -command = 'echo {{ .chezmoi.windowsVersion.productName }}' +command = 'echo "{{ .chezmoi.windowsVersion.productName }}"' {{ end }} when = true format = "[$output]($style)"