Skip to content

Commit 5c89569

Browse files
committed
fixup! feat(Session.new_window): set up environment
1 parent 20b42f2 commit 5c89569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_session.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def test_new_window_with_environment(session: Session) -> None:
271271
window = session.new_window(
272272
attach=True,
273273
window_name="window_with_environment",
274-
window_shell=f"{env} PS1='$ ' bash --norc --noprofile",
274+
window_shell=f"{env} PS1='$ ' sh",
275275
environment={"ENV_VAR": "window"},
276276
)
277277
pane = window.attached_pane
@@ -294,7 +294,7 @@ def test_new_window_with_environment_logs_warning_for_old_tmux(
294294
session.new_window(
295295
attach=True,
296296
window_name="window_with_environment",
297-
window_shell=f"{env} PS1='$ ' bash --norc --noprofile",
297+
window_shell=f"{env} PS1='$ ' sh",
298298
environment={"ENV_VAR": "window"},
299299
)
300300

0 commit comments

Comments
 (0)