File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
shell/AIShell.Integration Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ namespace AIShell.Integration;
77
88public class InitAndCleanup : IModuleAssemblyInitializer , IModuleAssemblyCleanup
99{
10- private const int ScriptVersion = 1 ;
10+ private const int ScriptVersion = 2 ;
1111 private const string ScriptFileTemplate = "aish_split_pane_v{0}.py" ;
1212 private const string SplitPanePythonCode = """
1313 import iterm2
@@ -31,7 +31,8 @@ await app.async_activate()
3131
3232 change = iterm2.LocalWriteOnlyProfile()
3333 change.set_use_custom_command('Yes')
34- change.set_command(f'{app_path} --channel {channel}')
34+ # Use login shell to inherit proper PATH and environment
35+ change.set_command(f'/bin/zsh -l -c "{app_path} --channel {channel}"')
3536
3637 # Split pane vertically
3738 split_pane = await current_pane.async_split_pane(vertical=True, profile_customizations=change)
You can’t perform that action at this time.
0 commit comments