Skip to content

Commit

Permalink
chore(audit) shell
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel authored and ggrossetie committed Nov 15, 2020
1 parent 2e56b21 commit 9ba8984
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/languages/shell.js
Expand Up @@ -3,18 +3,21 @@ Language: Shell Session
Requires: bash.js
Author: TSUYUSATO Kitsune <make.just.on@gmail.com>
Category: common
Audit: 2020
*/

/** @type LanguageFn */
export default function(hljs) {
return {
name: 'Shell Session',
aliases: ['console'],
contains: [
{
className: 'meta',
begin: '^\\s{0,3}[/\\w\\d\\[\\]()@-]*[>%$#]',
begin: /^\s{0,3}[/\w\d[\]()@-]*[>%$#]/,
starts: {
end: '[^\\\\](?=\\s*$)', subLanguage: 'bash'
end: /[^\\](?=\s*$)/,
subLanguage: 'bash'
}
}
]
Expand Down

0 comments on commit 9ba8984

Please sign in to comment.