config nu for env

Edit nu configurations.

Signature

> config nu {flags}

Flags

  • --default, -d: Print default config.nu file instead.

Input/output types:

inputoutput
nothingany

Examples

allow user to open and update nu config

> config nu

allow user to print default config.nu file

> config nu --default,

allow saving the default config.nu locally

> config nu --default | save -f ~/.config/nushell/default_config.nu