15 lines
653 B
Cheetah
15 lines
653 B
Cheetah
{{- $name := promptString "name" -}}
|
|
{{- $email := promptString "email" -}}
|
|
{{- $category := promptString "Server category" -}}
|
|
{{- $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)" -}}
|
|
{{- $promptType := promptString "Which prompt to use? (starship, oh-my-posh, none)" -}}
|
|
[data]
|
|
name = "{{ $name }}"
|
|
email = "{{ $email }}"
|
|
vimexec = "{{ $vimexec }}"
|
|
|
|
bash.prompt.category = "{{ $category }}"
|
|
bash.prompt.color = "{{ $color }}"
|
|
bash.prompt.type = "{{ $promptType }}"
|