diff --git a/src/cli.rs b/src/cli.rs index ef809ecc10..d0c70876f6 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -212,7 +212,7 @@ fn load_plugins(context: &mut Context) -> Result<(), ShellError> { Ok(()) } -struct History; +pub struct History; impl History { pub fn path() -> PathBuf { diff --git a/src/commands/env.rs b/src/commands/env.rs index 9a98164ef2..c0af785557 100644 --- a/src/commands/env.rs +++ b/src/commands/env.rs @@ -1,3 +1,4 @@ +use crate::cli::History; use crate::data::config; use crate::data::{Dictionary, Value}; use crate::errors::ShellError; @@ -45,6 +46,9 @@ pub fn get_environment(tag: Tag) -> Result, Box