config reset for env

Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu.

Signature

> config reset {flags}

Flags

  • --nu, -n: reset only nu config, config.nu
  • --env, -e: reset only env config, env.nu
  • --without-backup, -w: do not make a backup

Input/output types:

inputoutput
nothingnothing

Examples

reset nushell configuration files

> config reset