mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-27 02:51:44 -08:00
parent
68f576692b
commit
9f4f9d30db
|
@ -14,13 +14,13 @@ import TabItem from "@theme/TabItem";
|
|||
<TabItem value="powershell">
|
||||
|
||||
```powershell
|
||||
Export-PoshTheme -FilePath ~/.mytheme.omp.json -Format json
|
||||
Export-PoshTheme -FilePath "~/.mytheme.omp.json" -Format json
|
||||
```
|
||||
|
||||
Once you're done editing, adjust your `$PROFILE` to use your newly created theme.
|
||||
|
||||
```powershell
|
||||
oh-my-posh --init --shell pwsh --config ~/.mytheme.omp.json | Invoke-Expression
|
||||
oh-my-posh --init --shell pwsh --config "~/.mytheme.omp.json" | Invoke-Expression
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
@ -33,7 +33,7 @@ export_poshconfig "~/.mytheme.omp.json" json
|
|||
Once you're done editing, adjust `~/.zshrc` to use your newly created theme.
|
||||
|
||||
```bash
|
||||
eval "$(oh-my-posh --init --shell zsh --config ~/.mytheme.omp.json)"
|
||||
eval "$(oh-my-posh --init --shell zsh --config '~/.mytheme.omp.json')"
|
||||
```
|
||||
|
||||
When adjusted, reload your profile for the changes to take effect.
|
||||
|
@ -52,7 +52,7 @@ export_poshconfig "~/.mytheme.omp.json" json
|
|||
Once you're done editing, adjust `~/.bashrc` to use your newly created theme.
|
||||
|
||||
```bash
|
||||
eval "$(oh-my-posh --init --shell bash --config ~/.mytheme.omp.json)"
|
||||
eval "$(oh-my-posh --init --shell bash --config '~/.mytheme.omp.json')"
|
||||
```
|
||||
|
||||
When adjusted, reload your profile for the changes to take effect.
|
||||
|
@ -71,7 +71,7 @@ export_poshconfig "~/.mytheme.omp.json" json
|
|||
Once you're done editing, adjust `config.fish` to use your newly created theme.
|
||||
|
||||
```bash
|
||||
oh-my-posh --init --shell fish --config ~/.mytheme.omp.json | source
|
||||
oh-my-posh --init --shell fish --config '~/.mytheme.omp.json' | source
|
||||
```
|
||||
|
||||
Once adjusted, reload your config for the changes to take effect.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export POSH_THEME=::CONFIG::
|
||||
export POSH_THEME="::CONFIG::"
|
||||
export POWERLINE_COMMAND="oh-my-posh"
|
||||
export CONDA_PROMPT_MODIFIER=false
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
set -g posh_theme ::CONFIG::
|
||||
set -g posh_theme "::CONFIG::"
|
||||
set -g POWERLINE_COMMAND "oh-my-posh"
|
||||
set -g CONDA_PROMPT_MODIFIER false
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export POSH_THEME=::CONFIG::
|
||||
export POSH_THEME="::CONFIG::"
|
||||
export POWERLINE_COMMAND="oh-my-posh"
|
||||
export CONDA_PROMPT_MODIFIER=false
|
||||
|
||||
|
|
Loading…
Reference in a new issue