Commit graph

363 commits

Author SHA1 Message Date
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
Ethan P 974073fc72
build: Add option to print source files 2023-06-15 16:15:40 -07:00
Ethan P 7aa73f8989
batdiff: Add '--staged' flag 2023-05-15 20:31:48 -07:00
Ethan P 7107e1603f
build: Add support for more alt executables 2023-05-15 19:50:24 -07:00
Ethan P 3e7041da7b
test: Update test framework 2023-05-15 19:31:29 -07:00
Ethan P 14f36f51b7
batman: Use self as MANPAGER
With certain implementations of `man`, the pager is called with execve
and naiive argument splitting instead of going through the shell.

This change uses the script as the pager itself, working around
the issue.
2023-05-15 19:03:00 -07:00
Ethan P e609d1a2c5
prettybat: Fix short flags passed to bat
Fixes #87.
2023-03-24 11:01:56 -07:00
Ethan P daf888f5ed
docs: Update install instructions for brew 2023-03-21 02:10:41 -07:00
Ethan P bea36be397
Bump version to 2023.03.21 2023-03-21 01:58:48 -07:00
Ethan P 673dc6fd75
batdiff: Update docs to add BATDIFF_USE_DELTA 2023-03-21 01:58:48 -07:00
Ethan P 97006f0f09
batman: Allow spaces in manual sections 2023-03-21 01:58:48 -07:00
Ethan P 287398acbc
batman: Fix parsing manual pages in fzf preview 2023-03-21 01:58:48 -07:00
Ethan P e53db161a7
batman: Only parse first manpage when selected 2023-03-21 01:58:48 -07:00
Ethan P f07a22d536
batpipe: Fix SELF variable being wrong when compressed 2023-03-21 01:58:48 -07:00
Ethan P ea604457ea
batpipe: Add BATPIPE_TERM_WIDTH 2023-03-21 01:58:47 -07:00
Ethan P 998e2ff1a9
batpipe: Fix opened-in-less detection 2023-03-21 01:58:47 -07:00
Ethan P 26111f9cee
ci: Fix installation of ripgrep for tests
The previous `find` command was grabbing the bash completions, rather
than the executable file. This should fix that.
2023-03-20 23:40:08 -07:00
Ethan P 76906ca014
test: Add test to ensure ripgrep works
This is intended to make debugging CI issues easier in the future.
2023-03-20 23:29:36 -07:00
Ethan P 428a78837d
ci: Fix errors with permissions 2023-03-20 23:04:43 -07:00
Ethan P 36786ba570
ci: Update action to fix warnings 2023-03-20 23:00:52 -07:00
Eoin Mcloughlin e9daffde45 Fix bug where some man pages would fail to open
Some man page sections contain alphabetical characters (e.g. 3bsd,
3perl, 3ssl.) This fixes a bug where selection of such pages would
not open any man page.
2023-03-20 22:45:15 -07:00
Alex Wood 3917100c6e Add instructions for bat-extras on Fedora 2023-03-20 22:42:24 -07:00
Amory Meltzer ☀ a4237efffd batwatch docs: Fix link to entr project 2023-03-20 22:36:49 -07:00
Ethan P 38014ba72d
docs: Add install steps for Gentoo (@ran-dall)
Thanks for maintaining the package and writing up the install instructions, @ran-dall!
2022-07-30 17:03:42 -07:00
Ethan P 3e2e8df594
docs: Update README about manual files
Manual files are now generated and installed by default.
2022-07-30 17:01:03 -07:00
Ethan P abda988cbd
build: Add manuals to '--install' 2022-07-29 16:51:59 -07:00
Ethan P 49f27efea2
docs: Update CI badge on README 2022-07-29 16:03:07 -07:00
Ethan P 2f2b33391a
ci: Remove CircleCI 2022-07-29 16:00:11 -07:00
Ethan P 90bb604d74
ci: Add GitHub Actions test workflow
This will eventually replace CircleCI.
2022-07-29 15:55:51 -07:00