mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
docs: direct references to --config remote configs
This commit is contained in:
parent
fe8bb7c53f
commit
308ce40302
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue