mirror of
https://github.com/nushell/nushell.git
synced 2024-12-28 09:59:36 +01:00
f94a3e15f5
* 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
45 lines
609 B
Markdown
45 lines
609 B
Markdown
# config set
|
|
|
|
Sets a value in the config
|
|
|
|
## Usage
|
|
|
|
```shell
|
|
> config set <key> <value> {flags}
|
|
```
|
|
|
|
## Parameters
|
|
|
|
- `<key>` variable name to set
|
|
- `<value>` value to use
|
|
|
|
## Flags
|
|
|
|
- -h, --help: Display this help message
|
|
|
|
## Examples
|
|
|
|
Set auto pivoting
|
|
|
|
```shell
|
|
> config set pivot_mode always
|
|
```
|
|
|
|
Set line editor options
|
|
|
|
```shell
|
|
> config set line_editor [[edit_mode, completion_type]; [emacs circular]]
|
|
```
|
|
|
|
Set coloring options
|
|
|
|
```shell
|
|
> config set color_config [[header_align header_color]; [left white_bold]]
|
|
```
|
|
|
|
Set nested options
|
|
|
|
```shell
|
|
> config set color_config.header_color white
|
|
```
|