From 50399c349f191c82cefd34681055cf82e2c7e24b Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Wed, 2 Mar 2022 19:22:15 -0600 Subject: [PATCH] relocate default config in sample_config folder (#4678) * relocate default config in sample_config folder * relocate config file --- {src => docs/sample_config}/default_config.nu | 0 src/config_files.rs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {src => docs/sample_config}/default_config.nu (100%) diff --git a/src/default_config.nu b/docs/sample_config/default_config.nu similarity index 100% rename from src/default_config.nu rename to docs/sample_config/default_config.nu diff --git a/src/config_files.rs b/src/config_files.rs index d0093fca79..05203016be 100644 --- a/src/config_files.rs +++ b/src/config_files.rs @@ -92,7 +92,7 @@ pub(crate) fn read_config_file( .read_line(&mut answer) .expect("Failed to read user input"); - let config_file = include_str!("default_config.nu"); + let config_file = include_str!("../docs/sample_config/default_config.nu"); match answer.to_lowercase().trim() { "y" | "" => {