Anomalocaridid
150c04acb6
update CHANGELOG.md
2023-09-08 06:25:20 +02:00
Anomalocaridid
433176ab54
require LESSOPEN to have exactly one %s
2023-09-08 06:25:20 +02:00
Anomalocaridid
b56021ffa9
make LESSOPEN support opt-in
2023-09-08 06:25:20 +02:00
Anomalocaridid
ac2953c070
pass --no-lessopen to less by default
2023-09-08 06:25:20 +02:00
Boy van Duuren
d6e11b59e7
#2592 : Fixes unit tests dependent on echo on windows ( #2602 )
...
Co-authored-by: Boy van Duuren <boy.van.duuren@rabobank.nl>
2023-09-08 06:18:25 +02:00
Martin Nordholts
f49278cfaa
Do not enable lessopen
feature by default
2023-09-05 16:37:14 +02:00
pseudometa
9b73eda957
docs: add global --help
alias limitations
2023-09-02 14:54:55 +02:00
pseudometa
ed99a3a104
docs: Add better snippet for colorizing help pages
2023-09-02 14:54:55 +02:00
Anomalocaridid
e32ad0b048
Add $LESSOPEN
and $LESSCLOSE
support ( #2444 )
2023-09-02 08:48:26 +02:00
David Peter
3abc0c0fc4
Merge pull request #2548 from utkarshgupta137/master
...
Replace `dirs` crate with `etcetera` crate
2023-09-01 21:41:24 +02:00
David Peter
b06f13f0c5
Merge pull request #2618 from Piturnah/feat/write-to-buffer
...
feat: Optionally write to a buffer instead of stdout
2023-09-01 21:18:04 +02:00
Utkarsh Gupta
a721cc31f3
Replace dirs
crate with etcetera
crate
2023-09-01 21:13:21 +02:00
David Peter
1e52785d35
Merge pull request #2626 from rhysd/encoding_rs
...
Replace unmaintained `encoding` dependency with `encoding_rs`
2023-09-01 21:12:07 +02:00
Orion Yeung
9ba3b6ed13
No duplicate keys test, fixes #2643 ( #2647 )
...
* moved unit tests to conditional compile
made module `tests` and conditionally compiled
* added test to check for duplicate keys in builtin
checks all pairs in GlobMatcher::mappings via `GlobMatcher::glob`s `Eq`
panics at first match
```rs
SyntaxMapping {
mappings: Vec<(
GlobMatcher {
glob: Glob, ...,
}, ...,
}, ...,
}
```
* output more info with test failure
* dont duplicatively add git config path
* use guard in match for adding builtin git config syntax mapping
---------
Co-authored-by: Orion Yeung <11580988+orionyeung001@users.noreply.github.com>
2023-09-01 21:11:41 +02:00
Peter Hebden
72e1a40bab
Remove leftover unwrap
2023-09-01 20:52:55 +02:00
Peter Hebden
33a89410d4
Add example to show new feature
2023-09-01 20:52:55 +02:00
Peter Hebden
b2c28cdddb
Clippy lints
2023-09-01 20:52:55 +02:00
Peter Hebden
906e774372
Handle todos
2023-09-01 20:52:55 +02:00
Peter Hebden
d929becefc
Fix signatures
2023-09-01 20:52:55 +02:00
Peter Hebden
103a2f0d9b
Add OutputHandle
enum to use instead of &mut dyn io::Write
2023-09-01 20:52:55 +02:00
rhysd
d33b2e158e
Replace unmaintained encoding
with encoding_rs
2023-09-01 20:41:55 +02:00
David Peter
d295b3a394
Merge pull request #2613 from sharkdp/dependabot/cargo/expect-test-1.4.1
...
Bump expect-test from 1.4.0 to 1.4.1
2023-09-01 20:09:30 +02:00
David Peter
81a217b1f3
Merge pull request #2519 from sitiom/winget-releaser
...
Add Winget Releaser workflow
2023-09-01 20:01:02 +02:00
dependabot[bot]
bb17f74757
Bump assets/syntaxes/02_Extra/Docker from 9e9a518
to 0f6b7bc
...
Bumps [assets/syntaxes/02_Extra/Docker](https://github.com/asbjornenge/Docker.tmbundle ) from `9e9a518` to `0f6b7bc`.
- [Release notes](https://github.com/asbjornenge/Docker.tmbundle/releases )
- [Commits](9e9a518aed...0f6b7bc87a
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/Docker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 19:34:48 +02:00
dependabot[bot]
75928d20f8
Bump nu-ansi-term from 0.47.0 to 0.49.0
...
Bumps [nu-ansi-term](https://github.com/nushell/nu-ansi-term ) from 0.47.0 to 0.49.0.
- [Release notes](https://github.com/nushell/nu-ansi-term/releases )
- [Changelog](https://github.com/nushell/nu-ansi-term/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nushell/nu-ansi-term/compare/v0.47.0...v0.49.0 )
---
updated-dependencies:
- dependency-name: nu-ansi-term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 19:32:30 +02:00
dependabot[bot]
2cc45eea1a
Bump clap from 4.3.0 to 4.4.2
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.0 to 4.4.2.
- [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.3.0...v4.4.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 19:32:16 +02:00
dependabot[bot]
7dbc6e3da4
Bump tempfile from 3.5.0 to 3.8.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.5.0 to 3.8.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.5.0...v3.8.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 19:31:59 +02:00
dependabot[bot]
f34b852aa8
Bump git2 from 0.16.1 to 0.18.0
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.16.1 to 0.18.0.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.16.1...git2-0.18.0 )
---
updated-dependencies:
- dependency-name: git2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 18:01:55 +02:00
einfachIrgendwer0815
4b04f901fe
Add test for BAT_PAGING
2023-09-01 17:59:41 +02:00
einfachIrgendwer0815
26111950b3
Add environment variable BAT_PAGING
2023-09-01 17:59:41 +02:00
Orion Yeung
f21d3502e1
Add *.ron
syntax mapping
...
Add a mapping to use `Rust` for rusty object notation, identified by `.ron` extension. See [#2427 ](https://github.com/sharkdp/bat/issues/2427 ).
2023-09-01 17:57:46 +02:00
Maros Kukan
5687af8bc7
feat: describe WinGet method for Windows install
2023-09-01 17:53:26 +02:00
nazar
0f5f51f9ba
Fixed RU readme typos
2023-09-01 17:51:30 +02:00
Jan T. Sott
32c0e1fb45
update highlighted test file
2023-09-01 17:50:30 +02:00
Jan T. Sott
34440f1b0c
update highlighted test file
2023-09-01 17:50:30 +02:00
Jan T. Sott
f1d6cc7a64
add test files for NSIS syntax
2023-09-01 17:50:30 +02:00
Jan T. Sott
628ba5d31f
add NSIS support
2023-09-01 17:50:30 +02:00
dependabot[bot]
e24150ca3f
Bump assets/syntaxes/02_Extra/Julia from 4fde0fd
to 98233f9
...
Bumps [assets/syntaxes/02_Extra/Julia](https://github.com/JuliaEditorSupport/Julia-sublime ) from `4fde0fd` to `98233f9`.
- [Release notes](https://github.com/JuliaEditorSupport/Julia-sublime/releases )
- [Commits](4fde0fdedd...98233f96d4
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/Julia
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 17:48:06 +02:00
WinterCore
d580445aef
fix: Add syntax mapping jsonl
=> json
2023-09-01 17:45:41 +02:00
Martin Nordholts
48dc2b0d90
CICD: Add all-jobs
job
...
This opens up future possibilities:
* GitHub's auto-merge feature that merges a PR once CI passes
* Auto-merge of dependabot PRs that pass CI
But before we do any of that we need to have this new job active for a
while to see that it works.
2023-09-01 17:42:14 +02:00
mataha
82664e3c82
Bump MSRV to 1.70.0
...
The intention is to take advantage of `std::io::IsTerminal` that landed
in 1.70.0, both in `bat` and its dependencies (`clap`, `grep-cli`).
This will fix #2570 as well - `grep-cli` 0.1.9 has a patch for that.
Signed-off-by: mataha <mataha@users.noreply.github.com>
2023-09-01 05:42:45 +02:00
Ville Skyttä
1893405cbf
Add .dpkg-new and .dpkg-tmp to ignored suffixes
...
Refs https://www.debian.org/doc/manuals/debian-handbook/sect.package-meta-information.en.html#sect.conffiles
2023-08-28 17:50:29 +02:00
Keith Hall
00b7e3b864
Merge pull request #2639 from johnmatthiggins/doc_fix
...
fix for issue #2095
2023-08-09 17:38:15 +03:00
John Higgins
7826e506f8
Merge branch 'master' into doc_fix
2023-08-02 09:00:29 -07:00
David Peter
6dd8b28b0d
Merge pull request #2638 from johnmatthiggins/master
...
fix for issue #2633
2023-08-02 15:24:02 +02:00
John Higgins
b720af8a06
fix for issue #2095
2023-08-02 00:28:26 -07:00
John Higgins
b1fbcc8a6e
fix for issue #2633
2023-08-02 00:04:55 -07:00
Martin Nordholts
9bf74d687f
Cargo.lock: Bump proc-macro2 to fix build with Rust nightly
...
Without fix:
$ cargo +nightly build
Compiling proc-macro2 v1.0.54
error[E0635]: unknown feature `proc_macro_span_shrink`
--> /home/martin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.54/src/lib.rs:92:30
|
92 | feature(proc_macro_span, proc_macro_span_shrink)
| ^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to previous error
2023-07-27 07:08:38 +02:00
Keith Hall
783d4877e1
Merge pull request #2615 from einfachIrgendwer0815/feature_containerfile_mapping
...
Add `Containerfile` syntax mapping
2023-07-14 19:56:49 +03:00
einfachIrgendwer0815
8b187e6997
Update CHANGELOG
2023-07-02 13:55:54 +02:00