diff --git a/Cargo.toml b/Cargo.toml index 068c13b..e507c71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "envvars" -version = "0.1.6" +version = "0.1.7" edition = "2021" authors = ["d.astafyev@outlook.com"] description = "Getting environment variables considering shell configuration" diff --git a/src/profiles/unix.rs b/src/profiles/unix.rs index ea3e269..0201709 100644 --- a/src/profiles/unix.rs +++ b/src/profiles/unix.rs @@ -18,9 +18,9 @@ pub(crate) fn get() -> Result, Error> { let profile = match Profile::new( &path.to_path_buf(), if path.ends_with("tcsh") || path.ends_with("csh") { - vec!["-ic"] + vec!["-c"] } else { - vec!["-i", "-l", "-c"] + vec!["-l", "-c"] }, None, ) {