sharkdp
6b6baa3118
Update dependencies
6 years ago
sharkdp
54c434934e
Bump version, update assets
6 years ago
sharkdp
ad6e0a2581
Update man page
6 years ago
sharkdp
bd619db3ca
Mention BAT_STYLE in README.md
6 years ago
sharkdp
e098eb43a2
Do not show file header for directories
...
This also adds a better error message.
closes #292
6 years ago
David Peter
ea369ee17f
Merge pull request #298 from ms2300/bat_style
...
#208 Added BAT_STYLE env variable functionality
6 years ago
sharkdp
63d32bc818
Merge remote-tracking branch 'upstream/master' into bat_style
6 years ago
sharkdp
dccf8d8221
Use a more streamlined version of style-component collection
6 years ago
sharkdp
97129ab9d8
Add PowerShell syntax, closes #306
6 years ago
David Peter
52d0d6ca30
Merge pull request #302 from eth-p/feature-tabs
...
Tab expansion support.
closes #166
closes #184
6 years ago
sharkdp
a05494e9d9
Make tests more robust
6 years ago
sharkdp
84ac92efbb
Fix test for --style=plain
6 years ago
sharkdp
b4c6e412dc
Make generate_snapshots script more robust
6 years ago
sharkdp
3e21d69a92
Re-generate files again
6 years ago
sharkdp
b7690d4bb1
Undo change in sample.modified.rs
6 years ago
eth-p
d404139ff7
Added validation for --tabs.
...
Also added a comment to explain what 0 represents.
6 years ago
eth-p
9ef1e9f792
Update snapshots.
6 years ago
eth-p
503fe0b641
Fix sample.modified.rs
6 years ago
eth-p
1807f9653c
Merge remote-tracking branch 'upstream/master' into feature-tabs
...
# Conflicts:
# src/printer.rs
6 years ago
eth-p
1e74f0e2a9
Ran `cargo fmt`.
6 years ago
eth-p
c1e1f753cf
Added three new snapshot tests for --tabs and --wrap.
6 years ago
eth-p
d90797f8e9
Fixed tab expansion not working in --wrap=never mode.
6 years ago
eth-p
b4096e5627
Moved tab expansion to happen after syntax highlighting.
6 years ago
shik Chen
4e3ab4d399
Query git diff only when needed
...
In large git repo like chromium, it takes too long time to query git
diff.
6 years ago
rachitchokshi
f0d936763c
provide armhf deb packages ( #301 )
...
* Enabled deb packaging for armhf architecture
closes #280 .
6 years ago
ms2300
7897260bf0
BAT_STYLE accounts for multiple styles (ie numbers,header)
6 years ago
eth-p
eb6e43b9a9
Disabled tab expansion when decorations and pager are not used.
6 years ago
eth-p
7cdcdbb31d
Updated snapshots.
6 years ago
eth-p
9159341714
Modified snapshot tests to support tab expansion.
...
This changes how the files are named (to allow for snapshots that aren't
directly related to the --style argument) and fixes the
generate_snapshots.py script to work with the latest version of bat.
Three new tests are also introduced:
- tabs_4 - Tab expansion with a width of 4.
- tabs_8 - Tab expansion with a width of 8.
- tabs_passthrough - No tab expansion.
6 years ago
eth-p
b23ff24ebc
Added tab expansion preprocessing step.
6 years ago
Rogach
e1ecc17f69
print additional newline if last line in input file was not terminated with a newline ( fixes #299 )
6 years ago
rachitchokshi
0fe3badf19
adding deb packaging for arm64 ( #1 )
6 years ago
rachitchokshi
89d4cb951a
Updated before_deploy.bash to call version of strip specific to aarch64 target
6 years ago
rachitchokshi
e9681bf22d
Testing build by removing dependency 'libz-sys = "1.0.20"'
6 years ago
rachitchokshi
1b6df8a480
Enabled build target aarch64-unknown-linux-gnu for arm64 architecture
6 years ago
ms2300
cf24986edb
Run formatting for bat_style changes
6 years ago
ms2300
b9c556a0b6
Updated long help to reflect BAT_STYLE changes
6 years ago
ms2300
9d6bde48fa
Added BAT_STYLE env variable functionality
6 years ago
Aankhen
d6c8fee044
README.md: Add `Using bat on Windows`
6 years ago
sharkdp
8b4abb03db
Run 'cargo fmt'
6 years ago
eth-p
375cf76e15
Formatted for newest rustfmt.
6 years ago
eth-p
1a4acc435e
Typo
6 years ago
eth-p
d8030626f8
Automatically disable wrapping when style is plain.
6 years ago
eth-p
fb61aa4f60
Wrapping disabled when --plain is used. ( #289 )
6 years ago
Aankhen
76df41fa97
src/output.rs: Handle `less` in a portable way.
6 years ago
Miguel Madrid Mencía
97efd75cee
Add Crystal syntax
6 years ago
Shreyansh Chouhan
53d0c1deca
Can read files named "cache" now, cache subcommand working too ( #275 )
...
Now if a cache file exists in the current directory, and the user passes
no arguments to the cache command, the cache file would be displayed.
If however the user uses cache command with arguments, the cache command
would be executed as normal regardless of whether the file cache exists
in the current directory or not.
Though now there won't be an error message displayed if the user uses the cache sub command without arguments in any directory that contains a file named cache.
6 years ago
David Peter
155179a07a
Update alternatives.md
6 years ago
sharkdp
ba00caf9c3
Add Swift syntax
6 years ago
sharkdp
ac418ba21c
Add PureScript syntax
6 years ago