mirror of
https://github.com/danbulant/nushell
synced 2026-05-21 05:18:42 +00:00
Set auto-pivot to never by default (#2462)
This commit is contained in:
parent
188d33b306
commit
8d1cecf643
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue