Add syntax detection for files with ksh shebang lines#3509
Merged
keith-hall merged 1 commit intomasterfrom Dec 2, 2025
Merged
Conversation
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
Dec 3, 2025
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [sharkdp/bat](https://github.com/sharkdp/bat) | patch | `v0.26.0` -> `v0.26.1` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>sharkdp/bat (sharkdp/bat)</summary> ### [`v0.26.1`](https://github.com/sharkdp/bat/blob/HEAD/CHANGELOG.md#v0261) [Compare Source](sharkdp/bat@v0.26.0...v0.26.1) #### Features - Add paging to '-h' and '--help' see MR [#​3478](sharkdp/bat#3478) ([@​MuntasirSZN](https://github.com/MuntasirSZN)) #### Bugfixes - Fix hang when using `--list-themes` with an explicit pager, see [#​3457](sharkdp/bat#3457) ([@​abhinavcool42](https://github.com/abhinavcool42)) - Fix negative values of N not being parsed in \<N:M> line ranges without `=` flag value separator, see [#​3442](sharkdp/bat#3442) ([@​lmmx](https://github.com/lmmx)) - Fix broken Docker syntax preventing use of custom assets, see [#​3476](sharkdp/bat#3476) ([@​keith-hall](https://github.com/keith-hall)) - Fix decorations being applied unexpectedly when piping. Now only line numbers explicitly required on the command line should be applied in auto decorations mode for `cat` compatibility. See [#​3496](sharkdp/bat#3496) ([@​keith-hall](https://github.com/keith-hall)) - Fix diagnostics attempting to find the version of an executable named builtin when builtin pager is used. See [#​3498](sharkdp/bat#3498) ([@​keith-hall](https://github.com/keith-hall)) - `--help` now correctly reads the config file for theme information etc. See [#​3507](sharkdp/bat#3507) ([@​keith-hall](https://github.com/keith-hall)) #### Other - Improve README documentation on pager options passed to less, see [#​3443](sharkdp/bat#3443) ([@​injust](https://github.com/injust)) - Make PowerShell completions compatible with PowerShell v5.1, see [#​3495](sharkdp/bat#3495) ([@​keith-hall](https://github.com/keith-hall)) - Use more robust approach to escaping in Bash completions, see [#​3448](sharkdp/bat#3448) ([@​akinomyoga](https://github.com/akinomyoga)) #### Syntaxes - Update quadlet syntax mapping to include \*.{build,pod} files [#​3484](sharkdp/bat#3484) ([@​cyqsimon](https://github.com/cyqsimon)) - Fix inconsistencies in Ada syntax, see [#​3481](sharkdp/bat#3481) ([@​AldanTanneo](https://github.com/AldanTanneo)) - Add syntax mapping for podman's `artifact` quadlet files, see [#​3497](sharkdp/bat#3497) ([@​xduugu](https://github.com/xduugu)) - Highlight Korn Shell scripts (i.e. with a shebang of ...`ksh`) using Bash syntax, see [#​3509](sharkdp/bat#3509) ([@​keith-hall](https://github.com/keith-hall)) #### Themes #### `bat` as a library </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zMC40IiwidXBkYXRlZEluVmVyIjoiNDIuMzAuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3508
Note: deliberately committing
syntaxes.binbecause I plan to make a release soon and it is one of the release steps anyway