Skip to content

Commit

Permalink
Add Clone to Shell
Browse files Browse the repository at this point in the history
  • Loading branch information
elichai committed Mar 27, 2024
1 parent ebe98b4 commit 57c4d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ macro_rules! cmd {
/// assert_eq!(cwd, process_cwd.join("./target"));
/// # Ok::<(), xshell::Error>(())
/// ```
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct Shell {
cwd: RefCell<PathBuf>,
env: RefCell<HashMap<OsString, OsString>>,
Expand Down

0 comments on commit 57c4d63

Please sign in to comment.