mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
docs: fix json
This commit is contained in:
parent
8c812812ee
commit
eefc689ec9
|
@ -83,12 +83,12 @@ the current working directory is `/usr/home/omp` and the shell is `zsh`.
|
|||
|
||||
```json
|
||||
{
|
||||
"console_title_template" = "{{.Folder}}{{if .Root}} :: root{{end}} :: {{.Shell}}",
|
||||
"console_title_template": "{{.Folder}}{{if .Root}} :: root{{end}} :: {{.Shell}}",
|
||||
// outputs:
|
||||
// when root == false: omp :: zsh
|
||||
// when root == true: omp :: root :: zsh
|
||||
"console_title_template" = "{{.Folder}}", // outputs: omp
|
||||
"console_title_template" = "{{.Shell}} in {{.Path}}", // outputs: zsh in /usr/home/omp
|
||||
"console_title_template": "{{.Folder}}", // outputs: omp
|
||||
"console_title_template": "{{.Shell}} in {{.Path}}", // outputs: zsh in /usr/home/omp
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue