Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Add the alias shell to the Bash parser#336

Merged
daxian-dbw merged 1 commit into
PowerShell:mainPowerShell/AIShell:mainfrom
daxian-dbw:bash-parserdaxian-dbw/AIShell:bash-parserCopy head branch name to clipboard
Feb 8, 2025
Merged

Add the alias shell to the Bash parser#336
daxian-dbw merged 1 commit into
PowerShell:mainPowerShell/AIShell:mainfrom
daxian-dbw:bash-parserdaxian-dbw/AIShell:bash-parserCopy head branch name to clipboard

Conversation

@daxian-dbw

Copy link
Copy Markdown
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
@daxian-dbw daxian-dbw deleted the bash-parser branch February 8, 2025 00:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.