spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / telemetry / hooks / context / shell-of / known-shells / known-shells.ts
23 lines · 375 BRaw
1/**
2 * The shell names a row may carry, the CLI's own list: the login shell's
3 * basename when it is one of these, else `other`; `none` when unset.
4 */
5export const KNOWN_SHELLS: readonly string[] = [
6 'zsh',
7 'bash',
8 'fish',
9 'sh',
10 'dash',
11 'ash',
12 'ksh',
13 'tcsh',
14 'csh',
15 'nu',
16 'nushell',
17 'pwsh',
18 'powershell',
19 'cmd',
20 'elvish',
21 'xonsh',
22 'ion',
23]