docs: export to json

This commit is contained in:
Jan De Dobbeleer 2022-03-21 20:48:42 +01:00 committed by Jan De Dobbeleer
parent f4fa7a4166
commit 289c32adbf

View file

@ -132,12 +132,12 @@ Maybe there's a theme you like, but you don't fancy the colors. Or, maybe there'
want to tweak/add, or replace some of the icons with a different one. Whatever the case, **read through want to tweak/add, or replace some of the icons with a different one. Whatever the case, **read through
available options first**, by starting with the [configuration guide][configuration]. available options first**, by starting with the [configuration guide][configuration].
You can export the current theme (default, or set via `--config`) to the format you like (`json`, `yaml` or `toml`) You can export the current theme (default, or set via `--config`) to the format you like (`json` or `toml`)
which can be used to tweak and store as your own custom theme. which can be used to tweak and store as your own custom theme.
```bash ```bash
oh-my-posh config export --output ~/.mytheme.omp.yml oh-my-posh config export --output ~/.mytheme.omp.json
``` ```