(function(a){if(typeof exports=="object"&&typeof module=="object")a(require("../../lib/codemirror"));else if(typeof define=="function"&&define.amd)define(["../../lib/codemirror"],a);else a(CodeMirror)})(function(a){"use strict";a.defineMode("shell",function(){var b={};function c(a,c){for(var d=0;d1)a.eat("$");var c=a.next();if(/['"({]/.test(c)){b.tokens[0]=h(c,c=="("?"quote":c=="{"?"def":"string");return k(a,b)}if(!/\d/.test(c))a.eatWhile(/\w/);b.tokens.shift();return"def"};function k(a,b){return(b.tokens[0]||g)(a,b)}return{startState:function(){return{tokens:[]}},token:function(a,b){return k(a,b)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}});a.defineMIME("text/x-sh","shell");a.defineMIME("application/x-sh","shell")}); //# sourceMappingURL=shell.min.js.map