diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b4122bf..caa2ceee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: rust: - - 1.60.0 + - 1.63.0 - stable - beta steps: @@ -40,7 +40,7 @@ jobs: strategy: matrix: rust: - - 1.60.0 + - 1.63.0 - stable - beta # - nightly @@ -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 diff --git a/README.md b/README.md index f322c44c..8f6d7ef4 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/session.rs b/src/session.rs index d33d6a2a..c3790ea7 100644 --- a/src/session.rs +++ b/src/session.rs @@ -380,9 +380,8 @@ pub fn spawn_bash(timeout: Option) -> Result { 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");