Skip to content

Commit

Permalink
Merge pull request #2 from DmitryAstafyev/master
Browse files Browse the repository at this point in the history
Remove interactive mode
  • Loading branch information
DmitryAstafyev authored Oct 18, 2023
2 parents 8b91697 + 0633964 commit 0d6d6c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "envvars"
version = "0.1.6"
version = "0.1.7"
edition = "2021"
authors = ["[email protected]"]
description = "Getting environment variables considering shell configuration"
Expand Down
4 changes: 2 additions & 2 deletions src/profiles/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ pub(crate) fn get() -> Result<Vec<Profile>, 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,
) {
Expand Down

0 comments on commit 0d6d6c8

Please sign in to comment.