Skip to content

Commit

Permalink
docs: fix json
Browse files Browse the repository at this point in the history
  • Loading branch information
tradiff authored and JanDeDobbeleer committed Dec 27, 2020
1 parent 8c81281 commit eefc689
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docs/configuration.md
Expand Up @@ -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
}
```

Expand Down

0 comments on commit eefc689

Please sign in to comment.