Skip to content

Commit b7cc8a1

Browse files
committed
fix(test_capture_pane): use of double env
This makes the test fail (at least for me) as it still won't start bash but my login-shell (which is not bash).
1 parent 07fa5a6 commit b7cc8a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pane.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_capture_pane(session: Session) -> None:
6969
session.new_window(
7070
attach=True,
7171
window_name="capture_pane",
72-
window_shell='env -i PS1="$ " /usr/bin/env bash --norc --noprofile',
72+
window_shell="/usr/bin/env PS1='$ ' bash --norc --noprofile",
7373
)
7474
pane = session.attached_window.attached_pane
7575
assert pane is not None

0 commit comments

Comments
 (0)