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 the alias shell to the Bash parser #336

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

daxian-dbw
Copy link
Member

PR Summary

Add the alias shell to the Bash parser. The Azure Copilot started to return AzCLI code blocks enclosed with the shell block, which is not an alias for our Bash command parser and results in no syntax highlighting in the rendering for the code block:

image

After the change, syntax highlighting kicks in as expected:

image

@daxian-dbw daxian-dbw merged commit 8fc4c0d into PowerShell:main Feb 8, 2025
4 checks passed
@daxian-dbw daxian-dbw deleted the bash-parser branch February 8, 2025 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant