Skip to content

Commit

Permalink
Bash: Added "sh" alias (#3509)
Browse files Browse the repository at this point in the history
Co-authored-by: RunDevelopment <mitchi5000.ms@googlemail.com>
  • Loading branch information
benhatsor and RunDevelopment authored Aug 18, 2022
1 parent 15272f7 commit 6b824d4
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,9 @@
},
"bash": {
"title": "Bash",
"alias": "shell",
"alias": ["sh", "shell"],
"aliasTitles": {
"sh": "Shell",
"shell": "Shell"
},
"owner": "zeitgeist87"
Expand Down
1 change: 1 addition & 0 deletions components/prism-bash.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,5 +230,6 @@
inside[toBeCopied[i]] = Prism.languages.bash[toBeCopied[i]];
}

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

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

1 change: 1 addition & 0 deletions plugins/autoloader/prism-autoloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"avs": "avisynth",
"avdl": "avro-idl",
"gawk": "awk",
"sh": "bash",
"shell": "bash",
"shortcode": "bbcode",
"rbnf": "bnf",
Expand Down
Loading

0 comments on commit 6b824d4

Please sign in to comment.