mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
parent
3948bef0b2
commit
66a55991f1
|
@ -1,3 +1,4 @@
|
|||
export-env {
|
||||
let-env POWERLINE_COMMAND = 'oh-my-posh'
|
||||
let-env POSH_THEME = ::CONFIG::
|
||||
let-env PROMPT_INDICATOR = ""
|
||||
|
@ -19,3 +20,4 @@ let-env PROMPT_COMMAND = {
|
|||
let width = (term size -c | get columns | into string)
|
||||
^::OMP:: print primary $"--config=($env.POSH_THEME)" --shell=nu $"--shell-version=($env.NU_VERSION)" $"--execution-time=($cmd_duration)" $"--error=($env.LAST_EXIT_CODE)" $"--terminal-width=($width)"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -160,7 +160,7 @@ Once altered, reload your config for the changes to take effect.
|
|||
<TabItem value="nu">
|
||||
|
||||
:::caution
|
||||
Oh My Posh requires Nushell v0.60.0 or higher.
|
||||
Oh My Posh requires Nushell v0.68.1 or higher.
|
||||
:::
|
||||
|
||||
Run the following command:
|
||||
|
|
|
@ -153,7 +153,7 @@ exec fish
|
|||
<TabItem value="nu">
|
||||
|
||||
:::caution
|
||||
Oh My Posh requires Nushell v0.60.0 or higher.
|
||||
Oh My Posh requires Nushell v0.68.1 or higher.
|
||||
:::
|
||||
|
||||
Run the following command:
|
||||
|
|
Loading…
Reference in a new issue