Skip to content

Commit 6b824d4

Browse files
Bash: Added "sh" alias (#3509)
Co-authored-by: RunDevelopment <[email protected]>
1 parent 15272f7 commit 6b824d4

8 files changed

+9
-5
lines changed

components.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,9 @@
203203
},
204204
"bash": {
205205
"title": "Bash",
206-
"alias": "shell",
206+
"alias": ["sh", "shell"],
207207
"aliasTitles": {
208+
"sh": "Shell",
208209
"shell": "Shell"
209210
},
210211
"owner": "zeitgeist87"

components/prism-bash.js

+1
Original file line numberDiff line numberDiff line change
@@ -230,5 +230,6 @@
230230
inside[toBeCopied[i]] = Prism.languages.bash[toBeCopied[i]];
231231
}
232232

233+
Prism.languages.sh = Prism.languages.bash;
233234
Prism.languages.shell = Prism.languages.bash;
234235
}(Prism));

components/prism-bash.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/autoloader/prism-autoloader.js

+1
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@
190190
"avs": "avisynth",
191191
"avdl": "avro-idl",
192192
"gawk": "awk",
193+
"sh": "bash",
193194
"shell": "bash",
194195
"shortcode": "bbcode",
195196
"rbnf": "bnf",

0 commit comments

Comments
 (0)