nushell/crates/nu-command/src/env/config
goldfish a3ea0c304a
Fix config {nu,env} to open $nu.{config,env}-file (#8792)
# Description

fixed #8755
Now, command `config {nu,env}` opens default file
`.config/nushell/{config,env}.nu`.
This behavior is inappropriate when `nu` is launched with option
`--config` or `--env-config`.
This PR changes the file that the command opens to
`$nu.{config,env}-file`.

# User-Facing Changes

`config {nu,env}` opens `$nu.{config,env}-file`.
2023-04-07 18:37:54 +02:00
..
config_.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
config_env.rs Fix config {nu,env} to open $nu.{config,env}-file (#8792) 2023-04-07 18:37:54 +02:00
config_nu.rs Fix config {nu,env} to open $nu.{config,env}-file (#8792) 2023-04-07 18:37:54 +02:00
config_reset.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
mod.rs adds a config reset command (#6149) 2022-07-31 20:44:33 -05:00
utils.rs Fix two stable clippy lints (#8712) 2023-04-02 16:23:19 +02:00