MCPcopy Create free account
hub / github.com/pingdotgg/t3code / readUserLoginShell

Function readUserLoginShell

packages/shared/src/shell.ts:152–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150}
151
152function readUserLoginShell(): string | undefined {
153 try {
154 return trimNonEmpty(NodeOS.userInfo().shell);
155 } catch {
156 return undefined;
157 }
158}
159
160export function listLoginShellCandidates(
161 platform: NodeJS.Platform,

Callers 1

listLoginShellCandidatesFunction · 0.85

Calls 1

trimNonEmptyFunction · 0.70

Tested by

no test coverage detected