mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 20:09:39 -08:00
docs: display_mode 'never' removed
This commit is contained in:
parent
621cb8e4bc
commit
9822227a5e
|
@ -280,7 +280,7 @@ Oh my Posh mainly supports three different color types being
|
|||
|
||||
- Typical [hex colors][hexcolors] (for example `#CB4B16`).
|
||||
- The `transparent` keyword which can be used to create either a transparent foreground override
|
||||
or transparent background color using the segement's foreground property.
|
||||
or transparent background color using the segment's foreground property.
|
||||
- 16 [ANSI color names][ansicolors].
|
||||
|
||||
These include 8 basic ANSI colors and `default`:
|
||||
|
|
|
@ -21,8 +21,8 @@ brew install oh-my-posh
|
|||
|
||||
This installs two things:
|
||||
|
||||
- `oh-my-posh` - Executable, added to `/usr/local/bin`
|
||||
- `themes` - The latest Oh my Posh themes
|
||||
- `oh-my-posh` - Executable, added to `/usr/local/bin`
|
||||
- `themes` - The latest Oh my Posh themes
|
||||
|
||||
If you want to use a standard theme, you can find them in `$(brew --prefix oh-my-posh)/themes`, referencing them as such
|
||||
will always keep them compatible with the binary when updating Oh my Posh.
|
||||
|
|
|
@ -21,11 +21,12 @@ scoop install https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/down
|
|||
|
||||
This installs a couple of things:
|
||||
|
||||
- `oh-my-posh.exe` - Windows executable, added to your `$PATH`
|
||||
- `oh-my-posh-wsl` - Linux executable, added to your `$PATH` for use in the WSL
|
||||
- `themes` - The latest Oh my Posh themes
|
||||
- `oh-my-posh.exe` - Windows executable, added to your `$PATH`
|
||||
- `oh-my-posh-wsl` - Linux executable, added to your `$PATH` for use in the WSL
|
||||
- `themes` - The latest Oh my Posh themes
|
||||
|
||||
If you want to use a standard theme, you can find them in `~\scoop\apps\oh-my-posh\current\themes\`, referencing them as such
|
||||
If you want to use a standard theme, you can find them in `~\scoop\apps\oh-my-posh\current\themes\`,
|
||||
referencing them as such
|
||||
will always keep them compatible with the binary when updating Oh my Posh.
|
||||
|
||||
## Update
|
||||
|
|
|
@ -30,4 +30,3 @@ Display the currently active golang version when a folder contains `.go` files.
|
|||
- display_mode: `string` - determines when the segment is displayed
|
||||
- `always`: The segment is always displayed
|
||||
- `context`: The segment is only displayed when *.go or go.mod files are present (default)
|
||||
- `never`: The segement is hidden
|
||||
|
|
|
@ -30,4 +30,3 @@ Display the currently active julia version when a folder contains `.jl` files.
|
|||
- display_mode: `string` - determines when the segment is displayed
|
||||
- `always`: The segment is always displayed
|
||||
- `context`: The segment is only displayed when *.jl files are present (default)
|
||||
- `never`: The segement is hidden
|
||||
|
|
|
@ -30,4 +30,3 @@ Display the currently active node version when a folder contains `.js` or `.ts`
|
|||
- display_mode: `string` - determines when the segment is displayed
|
||||
- `always`: The segment is always displayed
|
||||
- `context`: The segment is only displayed when *.js, *.ts or package.json files are present (default)
|
||||
- `never`: The segement is hidden
|
||||
|
|
|
@ -32,4 +32,3 @@ Supports conda, virtualenv and pyenv.
|
|||
- display_mode: `string` - determines when the segment is displayed
|
||||
- `always`: The segment is always displayed
|
||||
- `context`: The segment is only displayed when *.py or *.ipynb files are present (default)
|
||||
- `never`: The segement is hidden
|
||||
|
|
|
@ -17,7 +17,7 @@ type language struct {
|
|||
const (
|
||||
// DisplayModeProperty sets the display mode (always, when_in_context, never)
|
||||
DisplayModeProperty Property = "display_mode"
|
||||
// DisplayModeAlways displays the segement always
|
||||
// DisplayModeAlways displays the segment always
|
||||
DisplayModeAlways string = "always"
|
||||
// DisplayModeContext displays the segment when the current folder contains certain extensions
|
||||
DisplayModeContext string = "context"
|
||||
|
|
Loading…
Reference in a new issue