shell top-level property
Language
shell
final
Implementation
final shell = Language(
id: "shell",
refs: {},
name: "Shell Session",
aliases: ["console", "shellsession"],
contains: [
Mode(
className: "meta.prompt",
begin: "^\\s{0,3}[/\\x7e\\w\\d[\\]()@-]*[>%\$#][ ]?",
starts: Mode(
end: "[^\\\\](?=\\s*\$)",
subLanguage: ["bash"],
),
),
],
);