Skip to content

Commit df40e3a

Browse files
committed
fixup! fix: Don't load ~/.inputrc for bash
1 parent 99cc2a6 commit df40e3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/completest-pty/src

crates/completest-pty/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ PS1='% '
177177
"
178178
.to_owned();
179179
std::fs::write(config_path, config)?;
180-
// Ignore ~/.inputrc which may set vi edit mode by setting empty .inputrc file.
181-
std::fs::write(inputrc_path, "")?;
180+
// Ignore ~/.inputrc which may set vi edit mode.
181+
std::fs::write(inputrc_path, "# expected empty file to disable loading ~/.inputrc\n")?;
182182

183183
Self::with_home(bin_root, home)
184184
}

0 commit comments

Comments
 (0)