From c272fa2b0ab215824db693301136d49fb8387412 Mon Sep 17 00:00:00 2001 From: 132ikl <132@ikl.sh> Date: Mon, 14 Jul 2025 11:48:06 -0400 Subject: [PATCH] Update default (scaffold) config blurb (#16165) Updates the header for the default generated config file to point people towards `config nu --doc`, adapting some text from that command. --- crates/nu-utils/src/default_files/scaffold_config.nu | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/nu-utils/src/default_files/scaffold_config.nu b/crates/nu-utils/src/default_files/scaffold_config.nu index 47efe76110..10d014df15 100644 --- a/crates/nu-utils/src/default_files/scaffold_config.nu +++ b/crates/nu-utils/src/default_files/scaffold_config.nu @@ -7,12 +7,12 @@ # (or import) custom commands, or run any other startup tasks. # See https://www.nushell.sh/book/configuration.html # -# This file is loaded after env.nu and before login.nu +# Nushell sets "sensible defaults" for most configuration settings, +# so your `config.nu` only needs to override these defaults if desired. # # You can open this file in your default editor using: -# config nu +# config nu # -# See `help config nu` for more options -# -# You can remove these comments if you want or leave -# them for future reference. \ No newline at end of file +# You can also pretty-print and page through the documentation for configuration +# options using: +# config nu --doc | nu-highlight | less -R