(chezmoi): Add prompt type to chezmoi config file.

This commit is contained in:
Heavy 2025-06-09 17:32:35 +02:00
parent 3881086797
commit 16977202b9

View File

@ -3,6 +3,7 @@
{{- $category := promptString "Server category" -}} {{- $category := promptString "Server category" -}}
{{- $color := promptString "Prompt color (see https://unix.stackexchange.com/questions/269077/tput-setaf-color-table-how-to-determine-color-codes)" -}} {{- $color := promptString "Prompt color (see https://unix.stackexchange.com/questions/269077/tput-setaf-color-table-how-to-determine-color-codes)" -}}
{{- $vimexec := promptString "Which vi executable to use? (vi, vim, nvim)" -}} {{- $vimexec := promptString "Which vi executable to use? (vi, vim, nvim)" -}}
{{- $promptType := promptString "Which prompt to use? (starship, oh-my-posh, none)" -}}
[data] [data]
name = "{{ $name }}" name = "{{ $name }}"
email = "{{ $email }}" email = "{{ $email }}"
@ -10,3 +11,4 @@
bash.prompt.category = "{{ $category }}" bash.prompt.category = "{{ $category }}"
bash.prompt.color = "{{ $color }}" bash.prompt.color = "{{ $color }}"
bash.prompt.type = "{{ $promptType }}"