mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
docs(fish): update version requirement to v3.4.0+
This commit is contained in:
parent
c120527696
commit
c80e486e46
|
@ -195,6 +195,10 @@ to the top of your `$PROFILE`:
|
||||||
$OutputEncoding = [console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding
|
$OutputEncoding = [console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Fish: $( ... ) is not supported
|
||||||
|
|
||||||
|
You should update fish to v3.4.0 or higher. Fish supports `$(...)` and `"$(...)"` since v3.4.0, as described in its [changelog][fish-changelog].
|
||||||
|
|
||||||
[exclusion]: https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26
|
[exclusion]: https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26
|
||||||
[arch-terminfo]: https://wiki.archlinux.org/title/Bash/Prompt_customization#Terminfo_escape_sequences
|
[arch-terminfo]: https://wiki.archlinux.org/title/Bash/Prompt_customization#Terminfo_escape_sequences
|
||||||
[ps-ansi-docs]: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_ansi_terminals?view=powershell-7.2
|
[ps-ansi-docs]: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_ansi_terminals?view=powershell-7.2
|
||||||
|
@ -211,3 +215,4 @@ $OutputEncoding = [console]::InputEncoding = [console]::OutputEncoding = New-Obj
|
||||||
[wt-vim]: https://github.com/microsoft/terminal/issues/3794
|
[wt-vim]: https://github.com/microsoft/terminal/issues/3794
|
||||||
[vim-wt]: https://github.com/vim/vim/issues/5092
|
[vim-wt]: https://github.com/vim/vim/issues/5092
|
||||||
[utf-8]: https://github.com/PowerShell/PowerShell/issues/7233#issuecomment-640243647
|
[utf-8]: https://github.com/PowerShell/PowerShell/issues/7233#issuecomment-640243647
|
||||||
|
[fish-changelog]: https://fishshell.com/docs/current/relnotes.html#id1
|
||||||
|
|
|
@ -122,6 +122,10 @@ exec bash
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="fish">
|
<TabItem value="fish">
|
||||||
|
|
||||||
|
:::caution
|
||||||
|
Oh My Posh requires fish v3.4.0 or higher.
|
||||||
|
:::
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
oh-my-posh init fish --config ~/.jandedobbeleer.omp.json | source
|
oh-my-posh init fish --config ~/.jandedobbeleer.omp.json | source
|
||||||
```
|
```
|
||||||
|
|
|
@ -138,7 +138,7 @@ Or, when using `~/.profile`.
|
||||||
<TabItem value="fish">
|
<TabItem value="fish">
|
||||||
|
|
||||||
:::caution
|
:::caution
|
||||||
It's advised to be on the latest version of fish. Versions below 3.1.2 have issues displaying the prompt.
|
Oh My Posh requires fish v3.4.0 or higher.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
Initialize Oh My Posh in `~/.config/fish/config.fish`:
|
Initialize Oh My Posh in `~/.config/fish/config.fish`:
|
||||||
|
|
Loading…
Reference in a new issue