mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 20:09:39 -08:00
docs(fish): lower version requirement
This commit is contained in:
parent
66f1347357
commit
ad34a6e530
|
@ -57,9 +57,8 @@ func (e *Engine) Tooltip(tip string) string {
|
|||
switch e.Env.Shell() {
|
||||
case shell.PWSH, shell.PWSH5:
|
||||
e.rprompt = text
|
||||
e.rpromptLength = length
|
||||
e.currentLineLength = e.Env.Flags().Column
|
||||
space, ok := e.canWriteRightBlock(true)
|
||||
space, ok := e.canWriteRightBlock(length, true)
|
||||
if !ok {
|
||||
return ""
|
||||
}
|
||||
|
|
|
@ -275,10 +275,6 @@ setopt appendhistory
|
|||
|
||||
This is most likely caused by two Oh My Posh init lines in your `.zshrc`, remove one of them. See [here][zsh-init].
|
||||
|
||||
### 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].
|
||||
|
||||
### Fish: Display current bind (Vim) mode
|
||||
|
||||
Use the `set_poshcontext` function to export the current mode. Note that scope shadowing must be disabled in order to
|
||||
|
|
|
@ -138,7 +138,7 @@ exec elvish
|
|||
<TabItem value="fish">
|
||||
|
||||
:::caution
|
||||
Oh My Posh requires fish v3.4.0 or higher.
|
||||
It is recommended to use the latest version of Fish. Versions below 3.1.2 have issues displaying the prompt.
|
||||
:::
|
||||
|
||||
Adjust the Oh My Posh init line in `~/.config/fish/config.fish` by adding the `--config` flag with
|
||||
|
|
|
@ -85,7 +85,7 @@ exec elvish
|
|||
<TabItem value="fish">
|
||||
|
||||
:::caution
|
||||
Oh My Posh requires fish v3.4.0 or higher.
|
||||
It is recommended to use the latest version of Fish. Versions below 3.1.2 have issues displaying the prompt.
|
||||
:::
|
||||
|
||||
Initialize Oh My Posh in `~/.config/fish/config.fish`:
|
||||
|
|
Loading…
Reference in a new issue