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

Accept hyphens in bash function names #2832

merged 1 commit into from Mar 26, 2021


Copy link

@hmarr hmarr commented Mar 26, 2021

While not a standard feature of POSIX shells, several popular shells including bash and zsh support hyphens in function names (source).

Copy link

github-actions bot commented Mar 26, 2021

JS File Size Changes (gzipped)

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

file master pull size diff % diff
components/prism-bash.min.js 2.86 KB 2.87 KB +7 B +0.2%

Generated by 🚫 dangerJS against e643f12

@RunDevelopment RunDevelopment merged commit e4ad22a into PrismJS:master Mar 26, 2021
Copy link

Thank you for contributing @hmarr!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants