Commit Graph

391 Commits

Author SHA1 Message Date
Ethan P.
36c77c171c
Bump version to 2024.08.24 2024-08-24 14:25:19 -07:00
Ethan P.
6092fa5bad
prettybad: Have yq output tabs instead of spaces
It's a hack with `sed`, but it's better than nothing.
2024-08-24 14:22:18 -07:00
Ethan P.
1cffc910d5
docs: Mention yq as formatter in prettybat docs 2024-08-24 14:07:27 -07:00
Ethan P.
47cfb9ec73
prettybat: Use yq for YAML and JSON pretty formatting 2024-08-24 14:02:23 -07:00
Adrian Wilkins
32706dd581 Trim trailing whitespace
Otherwise `MANPAGER`'s trailing whitespace is escaped, which adds the next line of `export` as part of the command.

```bash
export MANPAGER=env\ BATMAN_IS_BEING_MANPAGER=yes\ bash\ /usr/local/bin/batman\
export MANROFFOPT=-c
```

and you get `cat: export: No such file or directory`
2024-08-24 13:50:25 -07:00
Ethan P.
01c2f9bb94
test: Ignore flags passed to shim less
This fixes #126.
2024-08-24 13:45:36 -07:00
HE7086
0acf65edde batdiff: Support filenames with special characters 2024-08-24 13:38:41 -07:00
Mehdi Rafee
92dcb78765 Allow --wrap option to be passed to bat 2024-08-24 13:36:36 -07:00
Maor Kadosh
ac4f8710ba Batman unalias 2024-08-24 13:36:00 -07:00
Ethan P.
aef5a424b4
Bump version to 2024.07.10 2024-06-10 12:56:58 -07:00
Ethan P.
3b3a8923a1
docs: Update banner 2024-06-10 12:56:16 -07:00
Ethan P.
eb7ad6b21b
batman: Provide way to use BATMAN as MANPAGER 2024-06-10 12:55:10 -07:00
Ethan P.
f5b8cfb5d7
Bump version to 2024.06.01 2024-06-01 15:33:06 -07:00
Ethan P.
38bacab368
prettybat: Don't add extra newlines to tsv for gnu 2024-06-01 15:30:30 -07:00
Ethan P.
043d2da964
prettybat: Add basic support for tsv files 2024-06-01 15:24:20 -07:00
Joe DiPilato
75c757817f remove comma after black formatter 2024-05-16 12:24:57 -07:00
Ethan P.
c9e917e43a
docs: Clarify how to use batman instead of man 2024-02-12 15:47:01 -08:00
Ethan P.
6c8879f1d7
Bump version to 2024.02.12 2024-02-12 15:35:00 -08:00
Ethan P.
6bd35e5aed
ci: Fix downloading ripgrep dependency 2024-02-12 12:23:54 -08:00
Ethan P.
205e9c40e1
batman: Fix BAT_PAGER causing infinite recursion
Rather than replacing `BAT_PAGER` with `MANPAGER` every time batman is
used, only replace it when batman is called directly (and not used as
the MANPAGER).
2024-02-12 01:28:34 -08:00
Ethan P.
5011f0709e
batgrep: Add support for ripgrep-all
To use `ripgrep-all`, add the `--rga` flag when running batgrep.
2024-02-12 01:18:11 -08:00
Ethan P.
82911b5b7b
batman: Remove '-u' flag when calling sed
The `-u` flag is not available on busybox `sed`.
2024-02-12 01:04:40 -08:00
Felix Yan
a427f6eeda Update Arch Linux package URL in README.md
The old URL returns 404 now.
2024-02-12 01:01:06 -08:00
Ethan P.
8460b39956
batman: Remove dependency on col program
This follows proposed solution (C) in
https://github.com/sharkdp/bat/issues/2568
2024-02-12 00:58:56 -08:00
Herby Gillot
3f259f1a07 docs: add MacPorts install instructions
https://ports.macports.org/port/bat-extras/
2023-12-13 10:29:58 -08:00
Noah Betzen
bc534e9dd2 Add Elixir mix format support 2023-12-13 10:26:22 -08:00
Ethan P.
a686d6742c
ci: Only run release workflow on tag push 2023-09-22 11:32:06 -07:00
Ethan P.
d5ea485a0b
ci: Update deprecated Actions commands 2023-09-22 11:13:07 -07:00
Ethan P.
c4b2a12f73
Bump version to 2023.09.19 2023-09-19 10:57:28 -07:00
Ethan P.
f192b7a7d8
batman: Split short options 2023-09-19 10:46:46 -07:00
Ethan P.
c29dfb136a
batdiff: Show error when not in git repo
This is instead of allowing `git` to dump its own warning to the
console.
2023-09-13 11:53:49 -07:00
Ethan P.
2e1e768559
batdiff: Support filtering diffs by directory
This brings parity between using `delta` and `bat --diff`.
Previously, only `delta` supported this use case.
2023-09-13 11:15:20 -07:00
Ethan P.
4039859b62
batdiff: Check delta version for --hunk-style
This adds compatibility for older `delta` versions.
2023-09-13 11:06:11 -07:00
Ethan P.
6f579b1d45
batman: Document issues with non-default themes 2023-09-13 10:54:46 -07:00
Bill Mill
c26f22c768 fix typos in batgrep help 2023-09-13 10:41:31 -07:00
Ethan P.
895b4ee0ce
Merge branch 'compressed-tar' 2023-09-13 10:35:51 -07:00
Ethan P.
ba984f470e
Merge branch 'master' into compressed-tar 2023-09-13 10:33:26 -07:00
David Gus Shields
162c21d012 readd exa conditionally 2023-09-13 10:29:14 -07:00
David Gus Shields
d96fc92165 change all references to exa to eza 2023-09-13 10:29:14 -07:00
Adam Spiers
85aaf4875d batpipe: Add support for gzipped and bzipped tar files
This adds support for *.{tgz,tar.gz,tbz,tar.bz2} files.
2023-08-03 17:01:26 +01:00
Adam Spiers
4c220a84a3 batpipe: Extract batpipe_archive_header() helper function 2023-08-03 16:49:53 +01:00
Ethan P
ceaac1b917
ci: Remove wait job 2023-06-15 17:15:14 -07:00
Rex Ackermann
03549d651a build: Add termux support
sets the OPT_PREFIX to /data/data/com.termux/files/usr if termux is detected.
2023-06-15 16:56:16 -07:00
Bill Mill
f47d9c4138 add a test 2023-06-15 16:54:45 -07:00
Bill Mill
762ac557f4 use hook_help 2023-06-15 16:54:45 -07:00
Bill Mill
15876936ed add --help to batgrep 2023-06-15 16:54:45 -07:00
Ethan P
94fbeb5b27
ci: Tag-to-release 2023-06-15 16:42:49 -07:00
Ethan P
d0738b7289
dev: Allow release script to be used as lib 2023-06-15 16:16:19 -07:00
Ethan P
48fe8875f7
build: Remove end-of-line whitespace 2023-06-15 16:15:42 -07:00
Ethan P
5ac224bc87
build: A way to get data from build.sh 2023-06-15 16:15:41 -07:00