docs(nu): remove the outdated tip

This commit is contained in:
L. Yeung 2023-01-11 22:54:17 +08:00 committed by Jan De Dobbeleer
parent e3f86a7f1b
commit 502c346d9b
2 changed files with 0 additions and 24 deletions

View file

@ -190,18 +190,6 @@ source /mylocation/myscript.nu
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>
</Tabs>

View file

@ -183,18 +183,6 @@ source /mylocation/myscript.nu
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>
</Tabs>