Commit Graph

671 Commits (9a44fa11c0335b71fc9af557faa4c3533552ca2c)
 

Author SHA1 Message Date
toku-sa-n 9a44fa11c0 Add install instructions for Gentoo Users. 5 years ago
sharkdp 4ee0b2e16d Merge branch 'issmirnov-ssh-config' 5 years ago
sharkdp 518997135e Merge branch 'ssh-config' of https://github.com/issmirnov/bat into issmirnov-ssh-config 5 years ago
Ivan Smirnov 69fc1caead Add support for "etc/hosts" files.
- Syntax author: https://github.com/brandonwamboldt/sublime-hosts

Since the upstream version only has a tmLanguage, added a sublime-syntax
file manually.
5 years ago
Ivan Smirnov 175dd4c290 Add SSH config syntax
Tested:
```
bash assets/create.sh
cargo build
target/debug/bat --language ssh_config ~/.ssh/config
```
5 years ago
dependabot-preview[bot] e9210c0f6c Bump git2 from 0.8.0 to 0.9.0
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.8.0...0.9.0)
5 years ago
sharkdp 3795acbd17 Add '.env' (DotENV) syntax 5 years ago
sharkdp c7d08cfcfd Add 'requirements.txt' syntax 5 years ago
dependabot-preview[bot] 8ec96da9f0 Bump dirs from 2.0.0 to 2.0.1
Bumps [dirs](https://github.com/soc/dirs-rs) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)
5 years ago
Fernando Mendes c9d7e3652b Enforce the creation of the full cache dir path
Fixes #576
5 years ago
Brice Waegeneire dfa024f9e6 Add Org mode syntax, closes sharkdp#36 5 years ago
dependabot-preview[bot] b2757cb461 Bump dirs from 1.0.5 to 2.0.0
Bumps [dirs](https://github.com/soc/dirs-rs) from 1.0.5 to 2.0.0.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)
5 years ago
sharkdp 416a0fd439 Fix autocompletion-path 5 years ago
sharkdp 9b1b3dda14 Only print the header for empty files
Instead of printing
```
───────┬─────────────────────────────────────────────────────────
       │ File: some-file
───────┼─────────────────────────────────────────────────────────
───────┴─────────────────────────────────────────────────────────
```
for empty files, bat will now print
```
───────┬─────────────────────────────────────────────────────────
       │ File: some-file   <EMPTY>
───────┴─────────────────────────────────────────────────────────
```
5 years ago
sharkdp ae7db313a6 Update man page 5 years ago
sharkdp 3c4384990d Update syntaxes and themes 5 years ago
sharkdp 260814c377 Bump version to 0.11 5 years ago
sharkdp 3675a82a1b Update dependencies 5 years ago
sharkdp 5b2b594919 Revert "Run 'cargo fmt'" (outdated rustfmt)
This reverts commit dd40f7545d.
5 years ago
sharkdp 9d53ce6be6 Fix warning 5 years ago
sharkdp 51e05499a9 Update dependencies 5 years ago
sharkdp dd40f7545d Run 'cargo fmt' 5 years ago
sharkdp c709bf2103 Print a warning message instead of just '<BINARY>' 5 years ago
Maksim Panfilov f37dbb80a8 Added printing of "<BINARY>" for binary files in the interactive mode if header decorations are turned off 5 years ago
sharkdp 0a1e08da96 Extend help text for --terminal-width and --wrap, closes #535 5 years ago
Ethan P 06b8dcb7eb Update fish completions for new --list-languages format 5 years ago
Ethan P 493a4e719e Added non-interactive mode for `--list-languages`
This makes scripting it a lot easier and less hacky.
5 years ago
Ethan P 27e0ca98d9 Remove language completions for config files 5 years ago
Ethan P 1b2066c5f2 Add fish shell argument completions for --language option 5 years ago
dependabot[bot] 4ec3cdb5b8 Bump error-chain from 0.12.0 to 0.12.1
Bumps [error-chain](https://github.com/rust-lang-nursery/error-chain) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/rust-lang-nursery/error-chain/releases)
- [Changelog](https://github.com/rust-lang-nursery/error-chain/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang-nursery/error-chain/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
5 years ago
sharkdp 72152296c7 Fix accidental printing of files named 'cache'
This also adds two regression tests, so this will hopefully not pop up
again.

closes #557
5 years ago
Ethan P 2b9d25df05 Replace iterator with string starts_with and ends_with 5 years ago
Ethan P cc8186103b Reformatted with `cargo fmt`. 5 years ago
Ethan P 0ad09df7ab Improved logic when encountering ANSI in character wrap mode
Fixes #551
5 years ago
Ethan P 7ef0fe091d Cleaned up terminal-width validation even more 5 years ago
Ethan P 89fcbb2b15 Cleaned up terminal-width validation slightly 5 years ago
Ethan P a7e2bb86cb Add validation for --terminal-width option 5 years ago
sharkdp 1ce0bc8e0d Slightly modified help text 5 years ago
Ethan P fde00eec98 Add -pp for plain styling and no pager 5 years ago
Mitchell Kember bb6594e691 Add 3 new themes: ansi-light, ansi-dark, base16
Also, interpret transparent colors (#RRGGBB00) as specifying a terminal
color palette number with RR. The three new themes use this.
5 years ago
rasmuskriest e7c5561df7 Update Chocolatey package name to bat 5 years ago
rasmuskriest 0aabbc03d7 Add Chocolatey package instructions 5 years ago
Alexander Hultnér 8a5b59febc Updated manual to include -H, --highlight-line <N> 5 years ago
Tim Sampson 7afdd44c43 cache/misc: be more cautious with bash 5 years ago
Tim Sampson d72549a873 add fish shell syntax definition 5 years ago
evdev 1ba8540e5f Updated packaging script to include manual fish shell completions 6 years ago
evdev a6cee4da67 Removed completions file accidentaly left in root dir 6 years ago
evdev cd6850947e Updated fish completions to include parameter completion for available themes, added cache subcommand completions 6 years ago
evdev 14bfedeb20 Updated fish completions to include parameter completion for flags: color, italic-text, decorations, paging, wrap 6 years ago
evdev 8fe65252f7 WIP: added manual minimal fish shell completions for current flags. Does not include flag sub-options like language lists or subcommands 6 years ago