mirror of
https://github.com/nushell/nushell.git
synced 2025-08-14 02:28:35 +02:00
Autogenerate missing docs (#3514)
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
This commit is contained in:
36
docs/commands/config-set.md
Normal file
36
docs/commands/config-set.md
Normal file
@ -0,0 +1,36 @@
|
||||
# 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_bold]; [left $true]]
|
||||
```
|
||||
|
||||
Set nested options
|
||||
```shell
|
||||
> config set color_config.header_color white
|
||||
```
|
||||
|
Reference in New Issue
Block a user