Set auto-pivot to never by default (#2462)

This commit is contained in:
Jonathan Turner 2020-08-31 14:38:08 +12:00 committed by GitHub
parent 188d33b306
commit 8d1cecf643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,13 +44,13 @@ pub fn pivot_mode(config: &NuConfig) -> AutoPivotMode {
Ok(m) if m.to_lowercase() == "auto" => AutoPivotMode::Auto,
Ok(m) if m.to_lowercase() == "always" => AutoPivotMode::Always,
Ok(m) if m.to_lowercase() == "never" => AutoPivotMode::Never,
_ => AutoPivotMode::Always,
_ => AutoPivotMode::Never,
};
return mode;
}
AutoPivotMode::Always
AutoPivotMode::Never
}
impl ConfigExtensions for NuConfig {