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

Map ksh files to bash syntax #2633

Open
jwbowen opened this issue Jul 31, 2023 · 1 comment
Open

Map ksh files to bash syntax #2633

jwbowen opened this issue Jul 31, 2023 · 1 comment

Comments

@jwbowen
Copy link

jwbowen commented Jul 31, 2023

If there are no objections to the idea, I'd like to add ksh to the syntax
mapping for bash highlighting. I was going to do it myself and just send
a PR, but it wasn't readily apparent what the best way to add it would be.

I'd still be happy to add it with a bit of guidance on where to make changes.

@jwbowen jwbowen added the feature-request New feature or request label Jul 31, 2023
@keith-hall keith-hall added syntax-request and removed feature-request New feature or request labels Jul 31, 2023
@keith-hall
Copy link
Collaborator

For those that have never heard of ksh before, https://en.wikipedia.org/wiki/KornShell says:

KornShell is backward-compatible with the Bourne shell

So no objection here to the mapping. Probably the easiest way is to take inspiration from a previous PR adding a mapping:
https://github.com/sharkdp/bat/pull/2615/files

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

No branches or pull requests

2 participants