mirror of
https://github.com/nushell/nushell.git
synced 2025-08-19 06:51:28 +02:00
Extract out history parts.
This commit is contained in:
4
crates/nu-cli/src/env/environment_syncer.rs
vendored
4
crates/nu-cli/src/env/environment_syncer.rs
vendored
@@ -30,6 +30,10 @@ impl EnvironmentSyncer {
|
||||
self.config = Arc::new(config);
|
||||
}
|
||||
|
||||
pub fn get_config(&self) -> Box<dyn Conf> {
|
||||
self.config.clone().clone_box()
|
||||
}
|
||||
|
||||
pub fn load_environment(&mut self) {
|
||||
let config = self.config.clone();
|
||||
|
||||
|
Reference in New Issue
Block a user