Skip to content

Commit

Permalink
Shell-Session: Added aliases (#2548)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed Sep 11, 2020
1 parent d36ea99 commit bfb3674
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions components.json
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,7 @@
"shell-session": {
"title": "Shell session",
"require": "bash",
"alias": ["sh-session", "shellsession"],
"owner": "RunDevelopment"
},
"smali": {
Expand Down
2 changes: 2 additions & 0 deletions components/prism-shell-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@
'output': /.(?:.*(?:[\r\n]|.$))*/
};

Prism.languages['sh-session'] = Prism.languages['shellsession'] = Prism.languages['shell-session'];

}(Prism));
2 changes: 1 addition & 1 deletion components/prism-shell-session.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions plugins/autoloader/prism-autoloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@
"rpy": "renpy",
"robot": "robotframework",
"rb": "ruby",
"sh-session": "shell-session",
"shellsession": "shell-session",
"sol": "solidity",
"sln": "solution-file",
"rq": "sparql",
Expand Down
2 changes: 1 addition & 1 deletion plugins/autoloader/prism-autoloader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions plugins/show-language/prism-show-language.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@
"sass": "Sass (Sass)",
"scss": "Sass (Scss)",
"shell-session": "Shell session",
"sh-session": "Shell session",
"shellsession": "Shell session",
"solidity": "Solidity (Ethereum)",
"sol": "Solidity (Ethereum)",
"solution-file": "Solution file",
Expand Down
Loading

0 comments on commit bfb3674

Please sign in to comment.