Skip to content

Commit

Permalink
Document GEOMETRY_STATUS_SYMBOL_COLOR_HASH_COLORS
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Dahan committed Aug 21, 2019
1 parent 1777fb1 commit e251c24
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## 2.0.0 - [Unreleased]

### Added
- GEOMETRY_STATUS_SYMBOL_COLOR_HASH_COLORS for changing the hash colors (thanks @MarioRicalde!)
- GEOMETRY_INFO array for running functions on enter
- `geometry_jobs`: function showing number of jobs
- `geometry_npm_package_version`: function showing npm/yarn package version (thanks @drager!)
Expand Down
19 changes: 10 additions & 9 deletions options.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,16 @@ Display a symbol colored with the currently selected rustup toolchain.

Show a symbol with error/success and root/non-root information.

| Variable | Description | Defaults |
| ----------------------------------- | ------------------------------------------------------ | -------- |
| `GEOMETRY_STATUS_SYMBOL` | Non-root indicator. | `` |
| `GEOMETRY_STATUS_SYMBOL_ERROR` | Non-root indicator on error. | `` |
| `GEOMETRY_STATUS_SYMBOL_ROOT` | Root indicator. | `` |
| `GEOMETRY_STATUS_SYMBOL_ROOT_ERROR` | root indicator on error. | `` |
| `GEOMETRY_STATUS_COLOR` | Indicator color. | `white` |
| `GEOMETRY_STATUS_COLOR_ERROR` | Indicator color on error. | `red` |
| `GEOMETRY_STATUS_SYMBOL_COLOR_HASH` | Automatically pick a color based on the hostname hash. | `false` |
| Variable | Description | Default |
| ------------------------------------------ | ------------------------------------------------ | ------- |
| `GEOMETRY_STATUS_SYMBOL` | Non-root indicator | `` |
| `GEOMETRY_STATUS_SYMBOL_ERROR` | Non-root indicator on error | `` |
| `GEOMETRY_STATUS_SYMBOL_ROOT` | Root indicator | `` |
| `GEOMETRY_STATUS_SYMBOL_ROOT_ERROR` | root indicator on error | `` |
| `GEOMETRY_STATUS_COLOR` | Indicator color | `white` |
| `GEOMETRY_STATUS_COLOR_ERROR` | Indicator color on error | `red` |
| `GEOMETRY_STATUS_SYMBOL_COLOR_HASH` | Automatically pick a color based on the hostname | `false` |
| `GEOMETRY_STATUS_SYMBOL_COLOR_HASH_COLORS` | Array of colors to choose from | `1..16` |

## `geometry_virtualenv.zsh`

Expand Down

0 comments on commit e251c24

Please sign in to comment.