2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-16 21:25:56 +00:00

Merge pull request #2638 from johnmatthiggins/master

fix for issue #2633
This commit is contained in:
David Peter 2023-08-02 15:24:02 +02:00 committed by GitHub
commit 6dd8b28b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,7 @@
- Associate `os-release` with `bash` syntax, see #2587 (@cyqsimon) - Associate `os-release` with `bash` syntax, see #2587 (@cyqsimon)
- Associate `Containerfile` with `Dockerfile` syntax, see #2606 (@einfachIrgendwer0815) - Associate `Containerfile` with `Dockerfile` syntax, see #2606 (@einfachIrgendwer0815)
- Associate `ksh` files with `bash` syntax, see #2633 (@johnmatthiggins)
## Themes ## Themes

View File

@ -90,6 +90,10 @@ impl<'a> SyntaxMapping<'a> {
.insert("Containerfile", MappingTarget::MapTo("Dockerfile")) .insert("Containerfile", MappingTarget::MapTo("Dockerfile"))
.unwrap(); .unwrap();
mapping
.insert("*.ksh", MappingTarget::MapTo("Bourne Again Shell (bash)"))
.unwrap();
// Nginx and Apache syntax files both want to style all ".conf" files // Nginx and Apache syntax files both want to style all ".conf" files
// see #1131 and #1137 // see #1131 and #1137
mapping mapping