summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/hl/languages/shell.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'pyssg.xyz/live/static/hl/languages/shell.min.js')
-rw-r--r--pyssg.xyz/live/static/hl/languages/shell.min.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyssg.xyz/live/static/hl/languages/shell.min.js b/pyssg.xyz/live/static/hl/languages/shell.min.js
new file mode 100644
index 0000000..a633b14
--- /dev/null
+++ b/pyssg.xyz/live/static/hl/languages/shell.min.js
@@ -0,0 +1,4 @@
+hljs.registerLanguage("shell",(()=>{"use strict";return s=>({
+name:"Shell Session",aliases:["console"],contains:[{className:"meta",
+begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#]/,starts:{end:/[^\\](?=\s*$)/,
+subLanguage:"bash"}}]})})()); \ No newline at end of file