mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 07:16:05 +02:00
Default config improvements (#4565)
* Default config improvements * Finish cleanup * Add some comments
This commit is contained in:
@ -84,7 +84,7 @@ pub(crate) fn read_config_file(
|
||||
.expect("Failed to read user input");
|
||||
|
||||
match answer.to_lowercase().trim() {
|
||||
"y" => {
|
||||
"y" | "" => {
|
||||
let mut output = File::create(&config_path).expect("Unable to create file");
|
||||
let config_file = include_str!("default_config.nu");
|
||||
write!(output, "{}", config_file).expect("Unable to write to config file");
|
||||
|
Reference in New Issue
Block a user