Commit Graph

2462 Commits

Author SHA1 Message Date
f259ff2920 Formatted code 2019-03-09 07:43:41 +01:00
82f14121bd Applied linter fixes 2019-03-09 07:43:41 +01:00
a21ae614e6 Migrated to Rust 2018 2019-03-09 07:43:41 +01:00
b94c94e845 Bump lazy_static from 1.2.0 to 1.3.0
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.2.0...1.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-08 21:45:42 +01:00
161d107ec3 Bump dirs from 1.0.4 to 1.0.5
Bumps [dirs](https://github.com/soc/dirs-rs) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-05 22:31:16 +01:00
ecf147fd96 Bump syntect from 3.0.2 to 3.1.0
Bumps [syntect](https://github.com/trishume/syntect) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/trishume/syntect/releases)
- [Changelog](https://github.com/trishume/syntect/blob/master/CHANGELOG.md)
- [Commits](https://github.com/trishume/syntect/compare/v3.0.2...v3.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 07:03:17 +01:00
f0771d6532 Do not replace arguments to pager when --pager is used, closes #509 2019-02-18 20:28:44 +01:00
d8f28c177a Make fd link actually link to fd 2019-02-17 09:19:42 +01:00
fbee9df719 Add "git show" section 2019-02-11 22:04:22 +01:00
6e9ca7d6dc Add "xclip" section 2019-02-11 22:01:03 +01:00
a9ec5c063a Add documentation about "tail -f" 2019-02-11 21:54:16 +01:00
8470fd7173 Add "Integration with other tools" section 2019-02-11 21:38:18 +01:00
76b7418e35 Only print contents if file wasn't empty, or EOF wasn't first thing received from stdin. 2019-02-11 20:33:16 +01:00
10c5f79640 Revert "Check result of read_until, and return Error if 0, which indicates EOF was found before delimeter."
This reverts commit 61e888de7f.
2019-02-11 20:33:16 +01:00
9e11d66979 Handle UTF-16 encoding errors with replacement characters 2019-02-10 10:18:07 +01:00
fa3244f7c1 Add test for UTF-16LE encoding 2019-02-10 10:18:07 +01:00
906774e6d3 Integration tests for single-line files 2019-02-10 10:18:07 +01:00
cec9cc073c Add integration tests running bat with empty input files. 2019-02-08 23:30:33 +01:00
a16789a060 Update alternatives.md 2019-02-07 23:52:31 +01:00
e09499b3df Move config-dir and cache-dir from 'bat cache' to 'bat' v0.10.0 2019-02-07 23:27:53 +01:00
cff01d81fa Rename 'bat cache --init' to 'bat cache --build' 2019-02-07 23:27:53 +01:00
31608c9a03 Update syntaxes 2019-02-07 23:01:06 +01:00
357ce84c56 Bump version to 0.10 2019-02-07 23:00:40 +01:00
3a5c52641b Update assets/syntaxes/Packages 2019-02-07 22:53:18 +01:00
6e8fca5bb2 Replace less command line arguments only for PAGER 2019-02-07 22:37:33 +01:00
63c77383ce Ignore flags from PAGER env var if the program is 'less' 2019-02-07 22:37:33 +01:00
4df22e617f Update documentation 2019-02-07 22:19:32 +01:00
6473e8c1be Remove import 2019-02-07 22:19:32 +01:00
972a764a74 Simplify Optional handling 2019-02-07 22:19:32 +01:00
54143d1403 Add --cache-dir option 2019-02-07 22:19:32 +01:00
6523bbf62f Replace 'is_absolute_path' with map and filter 2019-02-07 22:19:32 +01:00
05e2c2c66b removed compile errors and warnings on non-macs 2019-02-07 22:19:32 +01:00
69227222b5 config and cache now check XDG env vars first
`XDG_CACHE_HOME` and `XDG_CONFIG_HOME` are checked first and fall-back
to `~/.cache/` and `~/.config/`.
2019-02-07 22:19:32 +01:00
49af3e854b Set cache_dir on MacOS to ~/.cache/bat/ 2019-02-07 22:19:32 +01:00
6a8e4757b7 Updated bat config dir for MacOs
Removed directories crate and using dirs_rs
Changed bat config file and cache dir on MacOs:
config: ~/.config/bat/config
cache: ~/.config/bat/cache/
2019-02-07 22:19:32 +01:00
91deef8b13 add varlink syntax
Varlink is an interface description format and protocol that aims
to make services accessible to both humans and machines in the
simplest feasible way.

See: https://varlink.org/ and https://github.com/varlink/ for
more information
2019-02-07 07:40:22 +01:00
61e888de7f Check result of read_until, and return Error if 0, which indicates EOF was found before delimeter. 2019-02-07 07:32:28 +01:00
f3f9f10f05 Add Jsonnet (*.jsonnet) syntax
Jsonnet: https://jsonnet.org/
sublime-syntax: https://github.com/gburiola/sublime-jsonnet-syntax
2019-02-04 23:28:39 +01:00
29ffa2a832 add Fedora instructions 2019-02-03 12:58:04 +01:00
42a873fdb8 update README-ja.md 2019-02-03 12:58:04 +01:00
82f048aedb Bump assert_cmd from 0.10.2 to 0.11.0
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 0.10.2 to 0.11.0.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.10.2...v0.11.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-29 08:13:31 +01:00
ae08785ec8 Add Terraform syntax 2019-01-28 20:09:56 +01:00
a500629359 Completely disable generation of shell completion files 2019-01-26 19:11:54 +01:00
724a5fac99 Fix Fedora instructions in README
Correct instructions regarding Fedora Modular repos.
2019-01-26 19:11:37 +01:00
c483e49b92 Consistent naming for submodules 2019-01-20 10:22:35 +01:00
94c9b40694 Protobuf-syntax and ProtobufText syntax (#474) 2019-01-20 10:20:53 +01:00
0c9dc3b257 Bump console from 0.7.3 to 0.7.5
Bumps [console](https://github.com/mitsuhiko/console) from 0.7.3 to 0.7.5.
- [Release notes](https://github.com/mitsuhiko/console/releases)
- [Commits](https://github.com/mitsuhiko/console/compare/0.7.3...0.7.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-18 07:25:29 +01:00
3b5174bb1d Add syslog-syntax 2019-01-18 07:24:46 +01:00
3324505383 Update README.md 2019-01-16 20:04:46 +01:00
de7872f8a8 Bump console from 0.7.2 to 0.7.3
Bumps [console](https://github.com/mitsuhiko/console) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/mitsuhiko/console/releases)
- [Commits](https://github.com/mitsuhiko/console/compare/0.7.2...0.7.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 09:12:12 +01:00