2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-18 15:26:16 +00:00
Commit Graph

92 Commits

Author SHA1 Message Date
Stefan Kunkel
cffacad306 make bat -L use pager 2020-12-21 09:24:56 +01:00
David Peter
73c16574e6
Merge branch 'master' into fix-1438-newline-can-be-added-even-if-style-plain 2020-12-21 08:22:01 +01:00
Martin Nordholts
60e00d49a9
Fix #1443 macOS: regression_test.sh: mktemp: illegal option (#1444)
The macOS version of mktemp does not recognize the --suffix option.
Using pure -d should work since, it seems [1], macOS 10.11 however.

So to make the script work on macOS, stop using the --suffix option.

The downside is of course that the temporary dir will have an anonymous
name, but I see no risk of confusion given how short-lived the usage of
the dir is, and given the context it is used.

[1] https://unix.stackexchange.com/questions/30091/fix-or-alternative-for-mktemp-in-os-x
2020-12-21 08:16:49 +01:00
Martin Nordholts
68d525cd8b Don't add artificial newline to last line if --style=plain
This fixes #1438.

Note however, that using a pager such as less will add a newline itself.
So to actually not print a newline for such files, you need to either
disable paging:

  bat --style=plain --paging=never no-newline-at-end-of-file.txt

or use a "pager" that does not add a newline:

  bat --style=plain --pager=cat no-newline-at-end-of-file.txt

Note that we also update syntax tests file since a bunch of them had
missing newlines on the last lines.
2020-12-19 10:32:50 +01:00
rsteube
84b0702399 only print themes hint in interactive mode 2020-12-17 10:41:07 +01:00
purvesh-linux11
f3489ffa29 add packaging in unreleased section 2020-12-02 08:46:29 +01:00
purvesh-linux11
8e6ba2a3e1 update changelog file 2020-12-02 08:46:29 +01:00
purvesh-linux11
bc01999f0d update chagelog.md 2020-12-02 08:46:29 +01:00
purvesh-linux11
b0fcb3065f add snap installtion command 2020-12-02 08:46:29 +01:00
sharkdp
6d981498d8 Bump version to 0.17.1 2020-11-24 21:40:11 +01:00
sharkdp
8884104e82 Bump version to v0.17.0 2020-11-23 14:41:32 +01:00
sharkdp
35da065445 Add zsh completion fix to CHANGELOG 2020-11-06 21:25:27 +01:00
Ethan P
61f947a580
Merge pull request #1276 from tommilligan/style-rule
style: add component 'rule' for horizontal file delimiter
2020-10-31 23:14:00 -07:00
sharkdp
c4bbf28862 Highlight ebuild/eclass files with shell syntax
Upstream patch: https://github.com/sublimehq/Packages/pull/2541

closes #1292
2020-10-30 22:33:23 +01:00
Adrian Rivera
456216ab37 Update CHANGELOG.md 2020-10-29 20:16:33 +01:00
Adrian Rivera
c747ac181d Updates CHANGELOG entry 2020-10-29 19:33:58 +01:00
Kyle Hubert
072fb380d8
Add Svelte as a syntax 2020-10-29 19:33:09 +01:00
sharkdp
95954b7c57 Update CHANGELOG 2020-10-25 19:09:52 +01:00
Armand Philippot
a707f81726 Add Coldark in New Themes 2020-10-25 08:18:55 +01:00
Keith Hall
5d9adc14e7 Include details about Manpage syntax improvements in the changelog 2020-10-17 16:46:18 +02:00
Tom Milligan
d7da4f5f2b
update changelog 2020-10-12 09:04:56 +01:00
gahag
83ecc3d3ac Update changelog 2020-10-08 18:51:42 +02:00
henil
b8535689d3 update CHANGELOG.md 2020-10-04 06:33:11 +02:00
sharkdp
a74d35582e Update CHANGELOG for 0.16 2020-10-02 20:45:29 +02:00
sharkdp
8d531b6436 Update CHANGELOG 2020-10-01 21:09:46 +02:00
Ethan P
fd52c01e78 Add custom languages/themes sections to manpage 2020-10-01 20:57:18 +02:00
sharkdp
1c24ec16e2 Update CHANGELOG 2020-09-30 19:53:36 +02:00
sharkdp
f18009e5d5 Remove 'liquid' dependency 2020-09-20 19:50:39 +02:00
Kienyew
6bc477e88f Update CHANGELOG.md 2020-09-20 12:14:21 +02:00
sharkdp
a4ffc9d5ed Update CHANGELOG 2020-09-14 11:30:47 +02:00
Kienyew
aa182dad76 Update CHANGELOG.md 2020-09-14 11:28:09 +02:00
Alexander Karlis
6017989c4c removed printlns, updated Changelog, updated man 2020-09-14 11:24:14 +02:00
Niklas Mohrin
57a8122a6b Document PR in CHANGELOG.md 2020-09-14 10:36:22 +02:00
Mitchell Kember
f9d5e81f0e Add new theme: base16-256
Bat already has a base16 theme. The new base16-256 theme is for users
of base16-shell, who configure their terminal with a 256-color variant
of a base16 theme. These variants put some of the base16 colors in
elsewhere in the 256-color table to avoid clobbering bright color slots
(ansi codes 8 to 15) with colors that don't respect the ordinary meaning
of that slot (e.g. bright green in ordinary base16 is not green).

For more details, see https://github.com/chriskempson/base16-shell
2020-08-03 11:39:49 +02:00
Dash Peters
0e38c1728e Update changelog 2020-07-09 08:15:04 +02:00
Dash Peters
c264f74771 Hide alias in help, update man and completions
A long alias doesn't make sense, since `--paging=never` already exists
2020-07-02 00:07:37 -07:00
David Peter
3a62e3d188
Merge pull request #1066 from gsomix/feature/1061-show-all-redirected
Enable non-printable characters for redirected output
2020-07-02 08:21:50 +02:00
Evgeniy Andreev (gsomix)
3c5ce9f86c Enable non-printable chars for redirected output (#1061) 2020-07-02 09:36:58 +04:00
David Peter
611c6e9c74
Merge branch 'master' into add_gruvbox_theme 2020-07-02 07:02:04 +02:00
Kyle Ondy
541f014d50
add peaceant's port of gruvbox themes
This adds Martin Radimec's [1] port [2] of the gruvbox theme [3].

Brian Reilly (Briles) [4] has a pretty complete collection of gruvbox
ports [5] but they are all in `sublime-color-scheme` which is not yet
supported in bat, see #759 [6].

[1] https://github.com/peaceant
[2] https://github.com/peaceant/gruvbox
[3] https://github.com/morhetz/gruvbox
[4] https://github.com/Briles
[5] https://github.com/Briles/gruvbox
[6] https://github.com/sharkdp/bat/issues/759
2020-06-22 21:25:51 -04:00
Caio Alonso
233d375983 Adds GLSL syntax 2020-06-22 22:19:48 -03:00
sharkdp
5ebf0215c5 Update CHANGELOG 2020-05-29 22:14:20 +02:00
Ethan P
9957da6b93 Remove <font> tag from CHANGELOG.md 2020-05-29 22:13:10 +02:00
Ethan P
c03a027240 Move PR changes in README to unreleased section 2020-05-29 22:13:10 +02:00
Ethan P
0319149b4d [breaking] Remove special handling for theme previews 2020-05-29 22:13:10 +02:00
Ethan P
2f823d59b0 Add PrettyPrinter::input function 2020-05-29 22:13:10 +02:00
Ethan P
981352992b Add InputDescription API 2020-05-29 22:13:10 +02:00
Ethan P
8b481dd41f Add support for NO_COLOR env var (#1021) 2020-05-28 21:49:10 +02:00
David Peter
6f88ba0e6f
Update CHANGELOG.md 2020-05-27 12:04:31 +02:00
sharkdp
9e65ecd03e Updates for v0.15.4 2020-05-27 10:14:32 +02:00