Ensure default config files end with a new line (#14192)

# Description

This allows users to immediately add new lines to the configuration in
the usual way.
This commit is contained in:
Ofek Lev 2024-10-29 05:12:55 -04:00 committed by GitHub
parent eedf833b6f
commit 2c31b3db07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -896,4 +896,4 @@ $env.config = {
event: { edit: selectall }
}
]
}
}

View File

@ -98,4 +98,4 @@ $env.NU_PLUGIN_DIRS = [
# $env.PATH = ($env.PATH | uniq)
# To load from a custom file you can use:
# source ($nu.default-config-dir | path join 'custom.nu')
# source ($nu.default-config-dir | path join 'custom.nu')

View File

@ -6,4 +6,4 @@
$env.PROMPT_INDICATOR = {|| "(LS)> " }
# Similar to env-path and config-path there is a variable containing the path to login.nu
echo $nu.loginshell-path
echo $nu.loginshell-path