Skip to content

Commit d9c3ffe

Browse files
authored
Merge pull request #47 from epage/bash
fix(bash): Further isolate bash runs
2 parents 0804345 + 093b32f commit d9c3ffe

File tree

1 file changed

+5
-1
lines changed
  • crates/completest-pty/src

1 file changed

+5
-1
lines changed

crates/completest-pty/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,11 @@ PS1='% '
224224
.env("PATH", &self.path)
225225
.env("TERM", "xterm")
226226
.env("INPUTRC", &inputrc_path)
227-
.args([OsStr::new("--rcfile"), self.config.as_os_str()]);
227+
.args([
228+
OsStr::new("--noprofile"),
229+
OsStr::new("--rcfile"),
230+
self.config.as_os_str(),
231+
]);
228232
let echo = !input.contains("\t\t");
229233
comptest(command, echo, input, term, self.timeout)
230234
}

0 commit comments

Comments
 (0)