дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
fix(terminal): Default to the account's login shell
$SHELL is inherited from whatever launched the app, so starting it from a terminal running bash opened bash even when the login shell is zsh. Read the passwd entry first and fall back to $SHELL. Claude-Session: https://claude.ai/code/session_01B65qLEKnkeYTGdbwhLpjCu
Цей коміт міститься в:
1 джерело
1bb454bd2f
коміт
1f5fcb477d
2 files changed
+30
-3
No files matched your search
@@ -3740,7 +3740,7 @@ export type TerminalInfo = {
|
||||
|
||||
export type TerminalOptions = {
|
||||
cwd: IpcPath,
|
||||
/** Defaults to the user's login shell (`$SHELL`, or `COMSPEC` on Windows). */
|
||||
/** Defaults to the user's login shell (passwd entry, then `$SHELL`; PowerShell or `COMSPEC` on Windows). */
|
||||
shell: string | null,
|
||||
args: string[],
|
||||
env: { [key in string]: string },
|
||||
|
||||
Reference in new issue
Заблокувати користувача