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.

Command Type

built-in

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:

input output
nothing nothing

Examples

Reset nushell configuration files.

> config reset

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.