mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-13 20:27:28 -08:00
docs(linux): install themes correctly
This commit is contained in:
parent
42aac1fbf4
commit
68a0d5fd95
|
@ -41,7 +41,7 @@ Once added, reload your profile for the changes to take effect.
|
|||
Add the following to `~/.zshrc`:
|
||||
|
||||
```bash
|
||||
eval "$(oh-my-posh --init --shell zsh --config ~/jandedobbeleer.omp.json)"
|
||||
eval "$(oh-my-posh --init --shell zsh --config ~/.poshthemes/jandedobbeleer.omp.json)"
|
||||
```
|
||||
|
||||
Once added, reload your profile for the changes to take effect.
|
||||
|
@ -56,7 +56,7 @@ source ~/.zshrc
|
|||
Add the following to `~/.bashrc` (could be `~/.profile` or `~/.bash_profile` depending on your environment):
|
||||
|
||||
```bash
|
||||
eval "$(oh-my-posh --init --shell bash --config ~/jandedobbeleer.omp.json)"
|
||||
eval "$(oh-my-posh --init --shell bash --config ~/.poshthemes/jandedobbeleer.omp.json)"
|
||||
```
|
||||
|
||||
Once added, reload your profile for the changes to take effect.
|
||||
|
@ -81,7 +81,7 @@ It's advised to be on the latest version of fish. Versions below 3.1.2 have issu
|
|||
Initialize Oh My Posh in `~/.config/fish/config.fish`:
|
||||
|
||||
```bash
|
||||
oh-my-posh --init --shell fish --config ~/jandedobbeleer.omp.json | source
|
||||
oh-my-posh --init --shell fish --config ~/.poshthemes/jandedobbeleer.omp.json | source
|
||||
```
|
||||
|
||||
Once added, reload your config for the changes to take effect.
|
||||
|
@ -98,13 +98,13 @@ Set the prompt and restart nu shell:
|
|||
### Nu < 0.32.0
|
||||
|
||||
```bash
|
||||
config set prompt "= `{{$(oh-my-posh --config ~/jandedobbeleer.omp.json | str collect)}}`"
|
||||
config set prompt "= `{{$(oh-my-posh --config ~/.poshthemes/jandedobbeleer.omp.json | str collect)}}`"
|
||||
```
|
||||
|
||||
### Nu >= 0.32.0
|
||||
|
||||
```bash
|
||||
config set prompt "(oh-my-posh --config ~/jandedobbeleer.omp.json | str collect)"
|
||||
config set prompt "(oh-my-posh --config ~/.poshthemes/jandedobbeleer.omp.json | str collect)"
|
||||
```
|
||||
|
||||
Restart nu shell for the changes to take effect.
|
||||
|
|
Loading…
Reference in a new issue