{ "scopeName": "text.shell-session", "name": "Shell Session", "fileTypes": [ "sh-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" } ] } } }, { "match": "^.+$", "name": "meta.output.shell-session" } ] }