forked from extern/nushell
Set auto-pivot to never by default (#2462)
This commit is contained in:
parent
188d33b306
commit
8d1cecf643
@ -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() == "auto" => AutoPivotMode::Auto,
|
||||||
Ok(m) if m.to_lowercase() == "always" => AutoPivotMode::Always,
|
Ok(m) if m.to_lowercase() == "always" => AutoPivotMode::Always,
|
||||||
Ok(m) if m.to_lowercase() == "never" => AutoPivotMode::Never,
|
Ok(m) if m.to_lowercase() == "never" => AutoPivotMode::Never,
|
||||||
_ => AutoPivotMode::Always,
|
_ => AutoPivotMode::Never,
|
||||||
};
|
};
|
||||||
|
|
||||||
return mode;
|
return mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
AutoPivotMode::Always
|
AutoPivotMode::Never
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ConfigExtensions for NuConfig {
|
impl ConfigExtensions for NuConfig {
|
||||||
|
Loading…
Reference in New Issue
Block a user