mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 14:36:08 +02:00
Get rid of header bold option (#4076)
* refactor(options): get rid of 'header_bold' option * docs(config): remove 'header_bold' from docs * fix(options): replicate logic to apply true/false in bold * style(options): apply lint fixes
This commit is contained in:
@ -1,36 +1,44 @@
|
||||
# config set
|
||||
|
||||
Sets a value in the config
|
||||
|
||||
## Usage
|
||||
|
||||
```shell
|
||||
> config set <key> <value> {flags}
|
||||
```
|
||||
> config set <key> <value> {flags}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
* `<key>` variable name to set
|
||||
* `<value>` value to use
|
||||
|
||||
- `<key>` variable name to set
|
||||
- `<value>` value to use
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
|
||||
- -h, --help: Display this help message
|
||||
|
||||
## Examples
|
||||
Set auto pivoting
|
||||
|
||||
Set auto pivoting
|
||||
|
||||
```shell
|
||||
> config set pivot_mode always
|
||||
```
|
||||
```
|
||||
|
||||
Set line editor options
|
||||
|
||||
Set line editor options
|
||||
```shell
|
||||
> config set line_editor [[edit_mode, completion_type]; [emacs circular]]
|
||||
```
|
||||
```
|
||||
|
||||
Set coloring options
|
||||
|
||||
Set coloring options
|
||||
```shell
|
||||
> config set color_config [[header_align header_bold]; [left $true]]
|
||||
```
|
||||
> config set color_config [[header_align header_color]; [left white_bold]]
|
||||
```
|
||||
|
||||
Set nested options
|
||||
|
||||
Set nested options
|
||||
```shell
|
||||
> config set color_config.header_color white
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -53,7 +53,6 @@ primitive_binary = "cyan"
|
||||
separator_color = "purple"
|
||||
header_align = "l" # left|l, right|r, center|c
|
||||
header_color = "c" # green|g, red|r, blue|u, black|b, yellow|y, purple|p, cyan|c, white|w
|
||||
header_bold = true
|
||||
index_color = "rd"
|
||||
leading_trailing_space_bg = "white"
|
||||
|
||||
|
Reference in New Issue
Block a user