1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-20 16:33:20 +00:00
Commit Graph

3484 Commits

Author SHA1 Message Date
Keith Hall 839bfded39 Map /var/log/dmesg to Syslog syntax 2025-09-27 22:48:13 +03:00
Keith Hall 2c87b9480f Bump jsonnet syntax dependency 2025-09-27 16:41:05 +03:00
Keith Hall 2ae4253577 Merge pull request #3397 from sharkdp/dependabot/submodules/assets/syntaxes/02_Extra/VimL-fe5bf5e
build(deps): bump assets/syntaxes/02_Extra/VimL from `ee85822` to `fe5bf5e`
2025-09-27 16:12:39 +03:00
dependabot[bot] 0d468b023a build(deps): bump assets/syntaxes/02_Extra/VimL
Bumps [assets/syntaxes/02_Extra/VimL](https://github.com/SalGnt/Sublime-VimL) from `ee85822` to `fe5bf5e`.
- [Release notes](https://github.com/SalGnt/Sublime-VimL/releases)
- [Commits](https://github.com/SalGnt/Sublime-VimL/compare/ee85822cbed17858da1a556dec922b7da2a219bb...fe5bf5ea7055b35035438c64d822aae1f1dfdb41)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/VimL
  dependency-version: fe5bf5ea7055b35035438c64d822aae1f1dfdb41
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-27 15:59:52 +03:00
Viktor 60096d9971 Update README.md 2025-09-27 11:16:01 +02:00
Ritoban Dutta e879f532a7 Mapping .kshrc to bash for syntax highlighting #3361 (#3364)
* Add syntax highlighting support for .kshrc files and update mapping in KornShell syntax #3361
2025-09-23 16:56:52 +00:00
jyn c8b8132228 Only leave space for git diff markers if any line is modified (#3406)
Previously, setting `--style=changes` would always print a 2-space
indent, even if the file was unmodified. This changes the style to only
print an indent if there is at least one +/- git marker in the sidebar.
2025-09-22 07:42:56 +02:00
Keith Hall 9d003dd1b9 Merge pull request #3402 from academician/minus-integration
Add --pager=builtin using the Minus library
2025-09-20 08:43:47 +03:00
Academician c36dbf86f5 Add builtin pager to changelog 2025-09-09 16:26:49 -04:00
Academician c29f1875d3 Add --builtin=pager to readme, completions, and man pages 2025-09-09 16:26:49 -04:00
Daniel Waechter a470cebf32 Add a "builtin" pager using the Minus crate 2025-09-09 16:15:54 -04:00
Keith Hall 929669728c Merge pull request #3396 from sharkdp/dependabot/submodules/assets/syntaxes/02_Extra/CMake-2560a08
build(deps): bump assets/syntaxes/02_Extra/CMake from `eb40ede` to `2560a08`
2025-09-04 09:34:27 +03:00
dependabot[bot] 4f912fca16 build(deps): bump assets/syntaxes/02_Extra/CMake
Bumps [assets/syntaxes/02_Extra/CMake](https://github.com/zyxar/Sublime-CMakeLists) from `eb40ede` to `2560a08`.
- [Release notes](https://github.com/zyxar/Sublime-CMakeLists/releases)
- [Commits](https://github.com/zyxar/Sublime-CMakeLists/compare/eb40ede56c2d4d5a4a129b2a5bc7095a2df46bb1...2560a080b3b7dcdb05e17ee85b2171776e84b8c1)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/CMake
  dependency-version: 2560a080b3b7dcdb05e17ee85b2171776e84b8c1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 09:22:04 +03:00
Keith Hall 93b020bf93 Merge pull request #3400 from CosmicHorrorDev/upd-onig-sys
build(deps): bump onig_sys 69.8.1 to 69.9.1
2025-09-04 09:20:23 +03:00
Cosmic Horror d7f11869ab build(deps): bump onig_sys 69.8.1 to 69.9.1 2025-09-04 00:00:18 -06:00
dependabot[bot] fe4754e9cd build(deps): bump clap from 4.5.24 to 4.5.46
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.24 to 4.5.46.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.24...clap_complete-v4.5.46)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.46
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-02 17:27:17 +02:00
dependabot[bot] ff8cd39620 build(deps): bump unicode-width from 0.2.0 to 0.2.1
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.2.0 to 0.2.1.
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.2.0...v0.2.1)

---
updated-dependencies:
- dependency-name: unicode-width
  dependency-version: 0.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-02 06:42:02 +02:00
dependabot[bot] 8d65d4591b build(deps): bump globset from 0.4.15 to 0.4.16
Bumps [globset](https://github.com/BurntSushi/ripgrep) from 0.4.15 to 0.4.16.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/ignore-0.4.15...globset-0.4.16)

---
updated-dependencies:
- dependency-name: globset
  dependency-version: 0.4.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-02 06:26:26 +02:00
dependabot[bot] b4dcc155f0 build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 19:23:43 +02:00
Sander f754f43e84 docs: fix command examples
its anoying to copy with the `>` in there
2025-09-01 18:53:15 +02:00
Sorin Sbarnea d291b3e5fa chore: Fix some typos (#3244) 2025-08-28 17:30:50 +00:00
Josef Andersson 6772225477 docs(security): add initial security policy (#3290) 2025-08-27 18:33:50 +00:00
Vedant Mohan Goyal 339e7df0bc Update winget-releaser to latest (#3012) 2025-08-25 05:29:04 +00:00
Keith Hall 297e8280d9 Merge pull request #3376 from eric-menne/fix/ctrl-c_fails_in_powershell
Fix ctrl-c fails in powershell
2025-08-22 17:59:35 +03:00
Eric Menne d397bea6dc Fix typo and clarify description 2025-08-22 17:49:53 +03:00
Eric Menne 3d174b8c09 Updated README.md to include -K option for less 2025-08-22 17:49:53 +03:00
Eric Menne d9dd9729b8 Add flag to less to enable quitting on Ctrl-C 2025-08-22 17:49:53 +03:00
Martin Nordholts c657b18efd README.md: Put some requirements on installation instructions
Adding new installation methods increases risk of supply chain exploits
and increases burden of maintainers. Let's put some requirements on what
installation methods to have in the README.md
2025-08-22 06:24:51 +02:00
Keith Hall c9b41b1df7 Merge pull request #3381 from CalebLarsen/update-docs
docs: added minor theming documentation notes
2025-08-22 07:12:17 +03:00
Caleb Larsen 45efc4117e docs: added minor theming documentation notes
.
2025-08-22 06:04:22 +02:00
Keith Hall 6a74283289 Merge pull request #3382 from CosmicHorrorDev/update-github-theme
deps: Bump assets/themes/github-sublime-theme from `508740b` to `59e525f`
2025-08-20 08:04:30 +03:00
Cosmic Horror 120c39429f deps: Bump assets/themes/github-sublime-theme from 508740b to 59e525f 2025-08-19 21:53:01 -06:00
Keith Hall 1c6ad4d514 Merge pull request #3345 from cavanaug/master
Support context in line ranges
2025-08-20 06:43:36 +03:00
John Cavanaugh 36d25c8642 Merge branch 'master' into master 2025-08-19 20:34:08 -07:00
Yuri Astrakhan caf6fa369f chore: add CI linting
* ensure `cargo clippy` treats all suggestions as errors in CI
* ensure `cargo clippy` runs with the latest stable Rust because Clippy is MSRV-aware, so it will not suggest anything unapplicable. Also note that whenever new release comes out, Clippy might temporarily show new errors - I think this is  better than forgetting to update the version somewhere, and keep running older tools.
* Update actions/checkout to the latest v5
2025-08-19 18:26:24 +02:00
Yuri Astrakhan 503c50b1ec chore: address all cargo clippy lints
* also do a bit of a doc cleanup for the `load_from_folder` fn
2025-08-19 05:22:47 +02:00
Yuri Astrakhan d9fbd18541 inline format arguments
In a few cases, removed the unneeded `&` - this causes a minor slowdown because compiler cannot eliminate those (yet).
2025-08-19 05:07:54 +02:00
Keith Hall 9824090654 Merge pull request #3369 from forkeith/utf16le
Fix the read_line method for utf16le/be input
2025-08-16 15:49:16 +03:00
Keith Hall bdaf25793d cargo fmt 2025-08-16 15:36:45 +03:00
Keith Hall 96ce80d0e2 Apply same fix and tests for UTF16BE 2025-08-16 15:36:45 +03:00
Keith Hall 40c4c8e542 More thorough tests for UTF16LE 2025-08-16 15:35:57 +03:00
Keith Hall 6675153460 Fix the read_line method for utf16le input
to determine the end of the line, instead of reading until \n (0x0A) and then reading until 0x00 and calling it done, read until we find 0x00 preceded by 0x0A.
2025-08-16 15:35:57 +03:00
dependabot[bot] 76e6a49a2e Bump assets/syntaxes/02_Extra/Fish from 98316d4 to ef510fd
Bumps [assets/syntaxes/02_Extra/Fish](https://github.com/Phidica/sublime-fish) from `98316d4` to `ef510fd`.
- [Release notes](https://github.com/Phidica/sublime-fish/releases)
- [Commits](https://github.com/Phidica/sublime-fish/compare/98316d4332936f74babb51cb56161410ae9d6e2c...ef510fd7592186d3c7f6aa066986c047ec29fe81)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/Fish
  dependency-version: ef510fd7592186d3c7f6aa066986c047ec29fe81
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-16 08:26:08 +02:00
joshua! 1bcf760d90 docs: Include GNOME bash script for Dark Mode
Title.  I developed this on Fedora 39 with GNOME. Tested and works on my setup as expected.
2025-08-16 07:52:18 +02:00
dependabot[bot] 94f1035c08 Bump nix from 0.29.0 to 0.30.1
Bumps [nix](https://github.com/nix-rust/nix) from 0.29.0 to 0.30.1.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.29.0...v0.30.1)

---
updated-dependencies:
- dependency-name: nix
  dependency-version: 0.30.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-16 07:33:52 +02:00
John Cavanaugh 3516a3311a Merge branch 'master' into master 2025-08-15 06:34:33 -07:00
John Cavanaugh f79adaf607 test: 🚨 update tests for truncated multiline.txt
test(tests/examples/multiline.txt): 🚨 trim sample file to 10 lines to match new behavior
test(tests/integration_tests.rs): 🚨 adjust line ranges and expected outputs for 10-line sample; add multi-range context test
2025-08-15 05:57:41 -07:00
alcroito d9ac757b6a Add CI build for windows/ARM64
Fixes: #2644
2025-08-14 17:56:00 +02:00
John Cavanaugh 58bfcd9051 style: 🎨 reformat predicate assertions
style(integration_tests.rs): 🎨 doh, run cargo fmt
2025-08-13 23:31:17 -07:00
John Cavanaugh 67e3e42531 test: 🚨 extend line-range tests
test(tests/examples/multiline.txt): 🚨 add lines 5-20 to sample file for expanded line-range tests
test(tests/integration_tests.rs): 🚨 update expected outputs and add comprehensive context and error tests for line-range feature
2025-08-13 23:29:58 -07:00