shell top-level property

Mode shell
final

Implementation

final shell = Mode(
    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"]))
    ]);