From 8df1639048529b383358000879b5ee078a90b9f9 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 30 May 2026 01:53:55 +0300 Subject: fix: use login shells for macos panes refs #350 --- src/ui/mobile.rs | 2 +- src/ui/sidebar.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui') diff --git a/src/ui/mobile.rs b/src/ui/mobile.rs index c1dd57b6..9b400f51 100644 --- a/src/ui/mobile.rs +++ b/src/ui/mobile.rs @@ -1005,7 +1005,7 @@ mod tests { live_cwd.clone(), 0, crate::terminal_theme::TerminalTheme::default(), - "/bin/sh", + crate::pane::PaneShellConfig::new("/bin/sh", crate::config::ShellModeConfig::NonLogin), events, std::sync::Arc::new(tokio::sync::Notify::new()), std::sync::Arc::new(std::sync::atomic::AtomicBool::new(false)), diff --git a/src/ui/sidebar.rs b/src/ui/sidebar.rs index 4c68aeb4..692e0236 100644 --- a/src/ui/sidebar.rs +++ b/src/ui/sidebar.rs @@ -1286,7 +1286,7 @@ mod tests { live_cwd.clone(), 0, crate::terminal_theme::TerminalTheme::default(), - "/bin/sh", + crate::pane::PaneShellConfig::new("/bin/sh", crate::config::ShellModeConfig::NonLogin), events, std::sync::Arc::new(tokio::sync::Notify::new()), std::sync::Arc::new(std::sync::atomic::AtomicBool::new(false)), -- cgit v1.2.3