mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
parent
181d906e8a
commit
e887f4ecea
|
@ -58,6 +58,7 @@ rm ~/.poshthemes/themes.zip
|
|||
|
||||
The guides below assume you copied the theme called `jandedobbeleer.omp.json` to your user's `$HOME` folder.
|
||||
When you've downloaded the themes, you can find this one at `~/.poshthemes/jandedobbeleer.omp.json`.
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ Once added, restart cmd for the changes to take effect.
|
|||
Add the following to `~/.zshrc`:
|
||||
|
||||
```bash
|
||||
eval "$(oh-my-posh --init --shell zsh --config ~/.poshthemes/jandedobbeleer.omp.json)"
|
||||
eval "$(oh-my-posh --init --shell zsh --config ~/jandedobbeleer.omp.json)"
|
||||
```
|
||||
|
||||
Once added, reload your profile for the changes to take effect.
|
||||
|
@ -85,7 +85,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 ~/.poshthemes/jandedobbeleer.omp.json)"
|
||||
eval "$(oh-my-posh --init --shell bash --config ~/jandedobbeleer.omp.json)"
|
||||
```
|
||||
|
||||
Once added, reload your profile for the changes to take effect.
|
||||
|
@ -110,7 +110,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 ~/.poshthemes/jandedobbeleer.omp.json | source
|
||||
oh-my-posh --init --shell fish --config ~/jandedobbeleer.omp.json | source
|
||||
```
|
||||
|
||||
Once added, reload your config for the changes to take effect.
|
||||
|
@ -127,13 +127,13 @@ Set the prompt and restart nu shell:
|
|||
### Nu < 0.32.0
|
||||
|
||||
```bash
|
||||
config set prompt "= `{{$(oh-my-posh --config ~/.poshthemes/jandedobbeleer.omp.json | str collect)}}`"
|
||||
config set prompt "= `{{$(oh-my-posh --config ~/jandedobbeleer.omp.json | str collect)}}`"
|
||||
```
|
||||
|
||||
### Nu >= 0.32.0
|
||||
|
||||
```bash
|
||||
config set prompt "(oh-my-posh --config ~/.poshthemes/jandedobbeleer.omp.json | str collect)"
|
||||
config set prompt "(oh-my-posh --config ~/jandedobbeleer.omp.json | str collect)"
|
||||
```
|
||||
|
||||
Restart nu shell for the changes to take effect.
|
||||
|
|
Loading…
Reference in a new issue