# code-block-pro/1.27.7/build/shiki/languages/shellsession.tmLanguage.json

Code Block Pro – Beautiful Syntax Highlighting, version 1.27.7. 31 lines.

- Page: https://pluginprobe.com/plugins/code-block-pro/1.27.7/code/build/shiki/languages/shellsession.tmLanguage.json
- Raw: https://pluginprobe.com/plugins/code-block-pro/1.27.7/raw/build/shiki/languages/shellsession.tmLanguage.json
- Modified: 2023-09-03T01:04:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/code-block-pro/1.27.7/code/build/shiki/languages/shellsession.tmLanguage.json#L10-L20`.

```json
{
  "name": "shellsession",
  "scopeName": "text.shell-session",
  "patterns": [
    {
      "match": "(?x) ^ (?: ( (?:\\(\\S+\\)\\s*)? (?: sh\\S*?                       | \\w+\\S+[@:]\\S+(?:\\s+\\S+)? | \\[\\S+?[@:][^\\n]+?\\].*? ) ) \\s* )? ( [>$#%❯➜] | \\p{Greek} ) \\s+ (.*) $",
      "captures": {
        "1": {
          "name": "entity.other.prompt-prefix.shell-session"
        },
        "2": {
          "name": "punctuation.separator.prompt.shell-session"
        },
        "3": {
          "name": "source.shell",
          "patterns": [
            {
              "include": "source.shell"
            }
          ]
        }
      }
    },
    {
      "name": "meta.output.shell-session",
      "match": "^.+$"
    }
  ],
  "fileTypes": ["sh-session"]
}

```
