mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
docs(nu): remove the outdated tip
This commit is contained in:
parent
e3f86a7f1b
commit
502c346d9b
|
@ -190,18 +190,6 @@ source /mylocation/myscript.nu
|
||||||
|
|
||||||
Once altered, restart Nushell for the changes to take effect.
|
Once altered, restart Nushell for the changes to take effect.
|
||||||
|
|
||||||
:::tip
|
|
||||||
For the time being, there is a [problem][homebrew-problem] with the initialization using Oh My Posh installed via Homebrew.
|
|
||||||
To resolve this, you can use the `--strict` flag which tells Oh My Posh to use the executable name and not the
|
|
||||||
full path in the initialization. For example:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
oh-my-posh init nu --config ~/jandedobbeleer.omp.json --print --strict | save /mylocation/myscript.nu
|
|
||||||
```
|
|
||||||
|
|
||||||
This way for a new Oh My Posh version that does not update the initialization script, you don't have to recreate a new one.
|
|
||||||
:::
|
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
||||||
|
|
|
@ -183,18 +183,6 @@ source /mylocation/myscript.nu
|
||||||
|
|
||||||
Once added, restart Nushell for the changes to take effect.
|
Once added, restart Nushell for the changes to take effect.
|
||||||
|
|
||||||
:::tip
|
|
||||||
For the time being, there is a [problem][homebrew-problem] with the initialization using Oh My Posh installed via Homebrew.
|
|
||||||
To resolve this, you can use the `--strict` flag which tells Oh My Posh to use the executable name and not the
|
|
||||||
full path in the initialization. For example:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
oh-my-posh init nu --print --strict | save /mylocation/myscript.nu
|
|
||||||
```
|
|
||||||
|
|
||||||
This way for a new Oh My Posh version that does not update the initialization script, you don't have to recreate a new one.
|
|
||||||
:::
|
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue