Features
Changes
- Change the default configuration directory on macOS to
~/.config/bat
, see #442 (@lavifb). If you are on macOS, you need to copy your configuration directory from the previous place (~/Library/Preferences/bat
) to the new place (~/.config/bat
). - Completely disabled the generation of shell completion files, see #372
- Properly set arguments to
less
ifPAGER
environment variable contains something likeless -F
(which is missing the-R
option), see #430 (@majecty) - Report the name of missing files, see #444 (@ufuji1984)
- Don't start pager if file doesn't exist, see #387
- Rename
bat cache --init
tobat cache --build
, see #498 - Move the
--config-dir
and--cache-dir
options frombat cache
tobat
and hide them from the help text.
Bugfixes
- Blank line at the end of output when using
--style=plain
, see #379 - EOF must be sent twice on stdin if no other input is sent, see #477 (@reidwagner)
New syntaxes
- Twig (@ahmedelgabri)
.desktop
files (@jleclanche)- AsciiDoc (@markusthoemmes)
- Assembly (x86_64 and ARM)
- Log files (@caos21)
- Protobuf and ProtobufText (@caos21)
- Terraform (@caos21)
- Jsonnet (@hfm)
- Varlink (@haraldh)
Other
- Added Japanese version of README (@sh-tech and @object1037)
- Code improvements (@barskern)