Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
rust:
- 1.60.0
- 1.63.0
- stable
- beta
steps:
Expand All @@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
rust:
- 1.60.0
- 1.63.0
- stable
- beta
# - nightly
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.60.0
toolchain: 1.63.0
components: rustfmt
- name: cargo-fmt
run: cargo fmt -- --check
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![crates.io](https://img.shields.io/crates/v/rexpect.svg)](https://crates.io/crates/rexpect)
[![Released API docs](https://docs.rs/rexpect/badge.svg)](https://docs.rs/rexpect)
[![Master API docs](https://img.shields.io/badge/docs-master-2f343b.svg)](http://philippkeller.github.io/rexpect)
[![MSRV](https://img.shields.io/badge/MSRV-1.60.0-blue)]
[![MSRV](https://img.shields.io/badge/MSRV-1.63.0-blue)]

Spawn, control, and respond to expected patterns of child applications and
processes, enabling the automation of interactions and testing. Components
Expand Down
5 changes: 2 additions & 3 deletions src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,8 @@ pub fn spawn_bash(timeout: Option<u64>) -> Result<PtyReplSession, Error> {
let mut rcfile = tempfile::NamedTempFile::new()?;
let _ = rcfile.write(
b"include () { [[ -f \"$1\" ]] && source \"$1\"; }\n\
include /etc/bash.bashrc\n\
include ~/.bashrc\n\
PS1=\"~~~~\"\n\
bind 'set enable-bracketed-paste off'\n
export PS1=\"~~~~\"\n\
unset PROMPT_COMMAND\n",
)?;
let mut c = Command::new("bash");
Expand Down