Skip to content

Commit 893b1a5

Browse files
authored
Merge pull request #148 from ccntrq/fix/ensure-consistent-bash-behaviour
fix: ensure consistent bash command output across terminal environments
2 parents ebb90a9 + 0281bed commit 893b1a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/session.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ pub fn spawn_bash(timeout: Option<u64>) -> Result<PtyReplSession, Error> {
397397
unset PROMPT_COMMAND\n",
398398
)?;
399399
let mut c = Command::new("bash");
400+
c.env("TERM", "");
400401
c.args([
401402
"--rcfile",
402403
rcfile.path().to_str().unwrap_or("temp file does not exist"),

0 commit comments

Comments
 (0)