1
0
mirror of https://github.com/sharkdp/bat.git synced 2026-02-08 00:32:08 +00:00
Commit Graph

515 Commits

Author SHA1 Message Date
dddffgg
edb8342eab docs: fix changelog entry to reference PR number 2026-01-31 16:48:03 +08:00
dddffgg
26118afde0 docs: add changelog entry for --quiet-empty flag 2026-01-31 16:44:39 +08:00
Cosmic Horror
099d716455 Remove Visual Studio Dark+ theme 2026-01-14 21:13:44 -07:00
Your Name
57bf8ff7da Update changelog with PR number 2026-01-08 09:45:41 -05:00
Your Name
0a97a1edd7 Add changelog entry 2026-01-08 09:35:01 -05:00
Hakil
ad608014d9 fix issue #3526 (#3529) 2025-12-23 19:08:38 +02:00
Alex Kirk
4db185834b Update changelog 2025-12-11 06:12:44 +01:00
Alex Kirk
59c5896902 Simplify MANPAGER guide 2025-12-11 05:49:46 +01:00
Alex Kirk
64a4b204a2 Only strip overstrike when a syntax highlighting theme is used 2025-12-11 05:49:46 +01:00
Alex Kirk
80ef6832d3 Add a changelog entry 2025-12-11 05:49:46 +01:00
Keith Hall
b7dd88eafd Support custom assets (themes) when displaying help output 2025-12-10 22:30:01 +02:00
Keith Hall
d15e399fce [CSV] don't apply string highlighting by default 2025-12-07 21:55:05 +02:00
Shun Sakai
abce6ac0d1 chore: Change URL of Zig submodule 2025-12-06 12:00:48 +09:00
Keith Hall
1796324531 Fix --help --pager=builtin
Previously it still used less
2025-12-04 21:53:45 +02:00
Keith Hall
c054541776 add empty changelog sections ready for future changes 2025-12-03 22:37:26 +02:00
Keith Hall
19ab724a73 Prepare for next release 2025-12-02 22:33:02 +02:00
Keith Hall
1fb269a0fb Add syntax detection for files with ksh shebang lines 2025-12-02 22:06:21 +02:00
Keith Hall
0e469634a3 return None for get_pager_executable when builtin pager is used (#3498) 2025-12-01 20:02:55 +00:00
Keith Hall
2c7fc5f926 update changelog 2025-12-01 06:51:04 +02:00
Cedric Staniewski
a6e0057c12 Add syntax mapping for podman's artifact quadlet files 2025-11-30 14:18:12 +02:00
Keith Hall
abc7261488 Fix -n flag to show line numbers in loop-through mode
When the -n/--number flag is passed on the command line, bat now shows
line numbers even when piping output to another process (loop-through
mode), similar to how `cat -n` behaves.

This change detects if -n or --number was passed on the CLI (before
merging with config file and environment variables) and disables
loop-through mode in that case, allowing the InteractivePrinter to
add line numbers.

The existing behavior is preserved:
- Styles from config/env are still ignored when piping (unless --decorations=always is set)
- Only the -n flag from CLI enables line numbers in piped mode
- -p and --style options from CLI do not disable loop-through mode
2025-11-30 05:02:13 +02:00
Keith Hall
7d37325c19 Fix to not show style decorations in auto mode when piping 2025-11-30 05:02:13 +02:00
Keith Hall
1ee1d8fdff update changelog 2025-11-27 21:57:47 +02:00
Keith Hall
6884a8e7e0 Update changelog 2025-11-24 21:56:05 +02:00
Muntasir Mahmud
70ec3fc24e feat: add paging to '-h' and '--help' (#3478)
* feat: add paging to '-h' and '--help'

Fixes #1587
2025-11-23 20:10:56 +00:00
Keith Hall
cfe49779fa Merge branch 'master' into fix/list-themes-pager-hang 2025-11-15 15:41:07 +02:00
AldanTanneo
1abecd2c93 update Ada syntax gitmodule 2025-11-14 11:41:08 +01:00
cyqsimon
015cafdbdc Write changelog 2025-11-13 13:50:53 +08:00
abhinavcool42
a8140f91cc changelog 2025-10-28 17:25:43 +05:30
abhinavcool42
2fac9b2740 added changelog 2025-10-28 17:07:12 +05:30
Justin Su
4e13c3eb5b Update CHANGELOG.md
Also fix a typo from the previous release
2025-10-20 19:23:26 +02:00
Koichi Murase
3188a147d8 Use "-o fullquote" and "-o noquote" to escape Bash completions 2025-10-20 19:38:54 +09:00
Louis Maddox
52a792d46f fix: allow hyphen values to -r/--line-range
via #2944
2025-10-19 21:24:59 +01:00
Keith Hall
2c63d3c792 Prepare changelog for future changes 2025-10-19 21:24:54 +03:00
Keith Hall
3331a306c9 Prepare to release v0.26.0 2025-10-19 21:06:26 +03:00
Louis Maddox
7eedc0f854 feat(pipe-style): make output pipeable (any style) 2025-10-18 10:29:39 +01:00
MuntasirSZN
b0fa9e1dfe feat: add typeScript syntax highlighting support for markdown code blocks
- Added TypeScript/ts language support to Markdown.sublime-syntax.patch
- Code blocks with ```typescript or ```ts will now use TypeScript syntax highlighting
- Updated patch hunk headers to reflect added lines
2025-10-13 17:27:50 +06:00
Keith Hall
d3cf75a36e Update changelog 2025-10-09 21:50:58 +03:00
Keith Hall
3e816f08c7 Update ansi theme to highlight JSON keys separately from string values 2025-10-08 23:12:39 +03:00
Keith Hall
98b75db115 Update changelog 2025-10-08 22:46:08 +03:00
0x61nas
1838e25d2f feat(cargo): add vendored-libgit2 feature (#3426)
* feat(cargo): add vendored-libgit2 feature

this is done to resolve the issues when the host system doesn't have
`libgit2` installed or if its incompatible with the version we expect

see: sharkdp/bat/issues/2939

* docs(changelog): add vendored libgit2 entry
2025-10-08 19:48:25 +02:00
Keith Hall
8e90efb2b4 Add missing shell completions for various CLI arguments 2025-10-07 22:30:53 +03:00
Keith Hall
d478ba2923 Merge branch 'master' into dmesg_syntax_mapping 2025-10-07 20:12:34 +03:00
DarkMatter-999
7ee6ee385e docs: update CHANGELOG.md 2025-10-03 13:09:57 +05:30
Keith Hall
839bfded39 Map /var/log/dmesg to Syslog syntax 2025-09-27 22:48:13 +03: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
Academician
c36dbf86f5 Add builtin pager to changelog 2025-09-09 16:26:49 -04:00
Cosmic Horror
d7f11869ab build(deps): bump onig_sys 69.8.1 to 69.9.1 2025-09-04 00:00:18 -06:00
Sorin Sbarnea
d291b3e5fa chore: Fix some typos (#3244) 2025-08-28 17:30:50 +00:00