Commit Graph

389 Commits

Author SHA1 Message Date
1cffc910d5 docs: Mention yq as formatter in prettybat docs 2024-08-24 14:07:27 -07:00
47cfb9ec73 prettybat: Use yq for YAML and JSON pretty formatting 2024-08-24 14:02:23 -07:00
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
01c2f9bb94 test: Ignore flags passed to shim less
This fixes #126.
2024-08-24 13:45:36 -07:00
0acf65edde batdiff: Support filenames with special characters 2024-08-24 13:38:41 -07:00
92dcb78765 Allow --wrap option to be passed to bat 2024-08-24 13:36:36 -07:00
ac4f8710ba Batman unalias 2024-08-24 13:36:00 -07:00
aef5a424b4 Bump version to 2024.07.10 v2024.07.10 2024-06-10 12:56:58 -07:00
3b3a8923a1 docs: Update banner 2024-06-10 12:56:16 -07:00
eb7ad6b21b batman: Provide way to use BATMAN as MANPAGER 2024-06-10 12:55:10 -07:00
f5b8cfb5d7 Bump version to 2024.06.01 v2024.06.01 2024-06-01 15:33:06 -07:00
38bacab368 prettybat: Don't add extra newlines to tsv for gnu 2024-06-01 15:30:30 -07:00
043d2da964 prettybat: Add basic support for tsv files 2024-06-01 15:24:20 -07:00
75c757817f remove comma after black formatter 2024-05-16 12:24:57 -07:00
c9e917e43a docs: Clarify how to use batman instead of man 2024-02-12 15:47:01 -08:00
6c8879f1d7 Bump version to 2024.02.12 v2024.02.12 2024-02-12 15:35:00 -08:00
6bd35e5aed ci: Fix downloading ripgrep dependency 2024-02-12 12:23:54 -08:00
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
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
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
a427f6eeda Update Arch Linux package URL in README.md
The old URL returns 404 now.
2024-02-12 01:01:06 -08:00
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
3f259f1a07 docs: add MacPorts install instructions
https://ports.macports.org/port/bat-extras/
2023-12-13 10:29:58 -08:00
bc534e9dd2 Add Elixir mix format support 2023-12-13 10:26:22 -08:00
a686d6742c ci: Only run release workflow on tag push 2023-09-22 11:32:06 -07:00
d5ea485a0b ci: Update deprecated Actions commands 2023-09-22 11:13:07 -07:00
c4b2a12f73 Bump version to 2023.09.19 v2023.09.19 2023-09-19 10:57:28 -07:00
f192b7a7d8 batman: Split short options 2023-09-19 10:46:46 -07:00
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
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
4039859b62 batdiff: Check delta version for --hunk-style
This adds compatibility for older `delta` versions.
2023-09-13 11:06:11 -07:00
6f579b1d45 batman: Document issues with non-default themes 2023-09-13 10:54:46 -07:00
c26f22c768 fix typos in batgrep help 2023-09-13 10:41:31 -07:00
895b4ee0ce Merge branch 'compressed-tar' 2023-09-13 10:35:51 -07:00
ba984f470e Merge branch 'master' into compressed-tar 2023-09-13 10:33:26 -07:00
162c21d012 readd exa conditionally 2023-09-13 10:29:14 -07:00
d96fc92165 change all references to exa to eza 2023-09-13 10:29:14 -07:00
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
4c220a84a3 batpipe: Extract batpipe_archive_header() helper function 2023-08-03 16:49:53 +01:00
ceaac1b917 ci: Remove wait job v2023.06.15 2023-06-15 17:15:14 -07:00
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
f47d9c4138 add a test 2023-06-15 16:54:45 -07:00
762ac557f4 use hook_help 2023-06-15 16:54:45 -07:00
15876936ed add --help to batgrep 2023-06-15 16:54:45 -07:00
94fbeb5b27 ci: Tag-to-release 2023-06-15 16:42:49 -07:00
d0738b7289 dev: Allow release script to be used as lib 2023-06-15 16:16:19 -07:00
48fe8875f7 build: Remove end-of-line whitespace 2023-06-15 16:15:42 -07:00
5ac224bc87 build: A way to get data from build.sh 2023-06-15 16:15:41 -07:00
974073fc72 build: Add option to print source files 2023-06-15 16:15:40 -07:00
7aa73f8989 batdiff: Add '--staged' flag 2023-05-15 20:31:48 -07:00