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 --nu --env --without-backup

Parameters

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

Examples

reset nushell configuration files

> config reset