Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bash language alias "sh" #3509

Merged
merged 6 commits into from
Aug 18, 2022
Merged

Add Bash language alias "sh" #3509

merged 6 commits into from
Aug 18, 2022

Conversation

benhatsor
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Jul 27, 2022

JS File Size Changes (gzipped)

A total of 3 files have changed, with a combined diff of +15 B (+0.2%).

file master pull size diff % diff
components/prism-bash.min.js 2.94 KB 2.95 KB +7 B +0.2%
plugins/autoloader/prism-autoloader.min.js 2.45 KB 2.45 KB +3 B +0.1%
plugins/show-language/prism-show-language.min.js 2.74 KB 2.74 KB +5 B +0.2%

Generated by 🚫 dangerJS against 6f4a25b

@benhatsor benhatsor changed the title Add lang alias "sh" for shell Add lang alias "sh" for bash Jul 27, 2022
@benhatsor benhatsor changed the title Add lang alias "sh" for bash Add Bash language alias "sh" Jul 27, 2022
@RunDevelopment
Copy link
Member

RunDevelopment commented Jul 27, 2022

Hello @barhatsor!

I think this is a good addition, but it has to be implemented differently. Add the "sh" alias to Bash's alias list here (alias: ["sh", "shell"]; maybe even add an alias title) and run npm ci && npm run build. The build command will update Autoloader (and everything else that needs updating) automatically.

@RunDevelopment RunDevelopment merged commit 6b824d4 into PrismJS:master Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants