| 1 |
{ |
| 2 |
"name": "shellsession", |
| 3 |
"scopeName": "text.shell-session", |
| 4 |
"patterns": [ |
| 5 |
{ |
| 6 |
"match": "(?x) ^ (?: ( (?:\\(\\S+\\)\\s*)? (?: sh\\S*? | \\w+\\S+[@:]\\S+(?:\\s+\\S+)? | \\[\\S+?[@:][^\\n]+?\\].*? ) ) \\s* )? ( [>$#%❯➜] | \\p{Greek} ) \\s+ (.*) $", |
| 7 |
"captures": { |
| 8 |
"1": { |
| 9 |
"name": "entity.other.prompt-prefix.shell-session" |
| 10 |
}, |
| 11 |
"2": { |
| 12 |
"name": "punctuation.separator.prompt.shell-session" |
| 13 |
}, |
| 14 |
"3": { |
| 15 |
"name": "source.shell", |
| 16 |
"patterns": [ |
| 17 |
{ |
| 18 |
"include": "source.shell" |
| 19 |
} |
| 20 |
] |
| 21 |
} |
| 22 |
} |
| 23 |
}, |
| 24 |
{ |
| 25 |
"name": "meta.output.shell-session", |
| 26 |
"match": "^.+$" |
| 27 |
} |
| 28 |
], |
| 29 |
"fileTypes": ["sh-session"] |
| 30 |
} |
| 31 |
|