Skip to content

Commit

Permalink
docs: display_mode 'never' removed
Browse files Browse the repository at this point in the history
  • Loading branch information
lnu authored and JanDeDobbeleer committed Jan 1, 2021
1 parent 621cb8e commit 9822227
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/docs/configuration.md
Expand Up @@ -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`:
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/package-homebrew.mdx
Expand Up @@ -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.
Expand Down
9 changes: 5 additions & 4 deletions docs/docs/package-scoop.mdx
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion docs/docs/segment-golang.md
Expand Up @@ -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
1 change: 0 additions & 1 deletion docs/docs/segment-julia.md
Expand Up @@ -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
1 change: 0 additions & 1 deletion docs/docs/segment-node.md
Expand Up @@ -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
1 change: 0 additions & 1 deletion docs/docs/segment-python.md
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/segment_language.go
Expand Up @@ -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"
Expand Down

0 comments on commit 9822227

Please sign in to comment.