docs: direct references to --config remote configs

This commit is contained in:
ehawman-rosenberg 2022-03-09 11:14:11 -06:00 committed by Jan De Dobbeleer
parent fe8bb7c53f
commit 308ce40302
2 changed files with 15 additions and 1 deletions

View file

@ -50,12 +50,19 @@ theme.
:::
```bash
oh-my-posh --config sample.json --shell uni
oh-my-posh prompt print primary --config sample.json --shell uni
```
If all goes according to plan, you should see the prompt being printed out on the line below. In case you see a lot of
boxes with question marks, set up your terminal to use a [supported font][font] before continuing.
:::tip
The `--config` flag can accept either a local filepath or a remotely hosted config file.
For example, the following is a valid `--config` flag:
`--config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/jandedobbeleer.omp.json'`
:::
## General Settings
- final_space: `boolean` - when true adds a space at the end of the prompt

View file

@ -110,6 +110,13 @@ Once adjusted, reload your config for the changes to take effect.
</TabItem>
</Tabs>
:::tip
The `--config` flag can accept either a local filepath or remotely hosted JSON.
For example, the following is a valid `--config` flag:
`--config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/jandedobbeleer.omp.json'`
:::
[themes]: themes.md
[configuration]: config-overview.md