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
Ethan P
ad2d788d6c
build: Add more '--no-*' options
2022-07-29 14:01:55 -07:00
Ethan P
10d976da55
developer: Add '.vscode' to gitignore
2022-07-29 14:01:34 -07:00
Ethan P
62b8f74df2
docs: Add Arch Linux install instructions to README
2022-07-28 13:47:44 -07:00
Ethan P
a011290c2f
Bump version to 2022.07.27
2022-07-27 13:30:27 -07:00
Trevor Leibert
20cc74e8b4
batman: Fix error when using fzf to pick manpages
...
- steps to reproduce error:
- run batman with no arguments
- pick any entry
- script exits and man prints an error message similar to 'No manual entry for .k5identity in section 5'
I speculated that this error was due to whitespace being attached to the second argument in the man call.
This commit fixes this error by piping the second argument through xargs to strip these spaces.
After applying this commit the script works as expected.
2022-07-21 19:37:56 -07:00
MithicSpirit
33c2c195dc
batdiff: Fix line too long (>80 chars)
2022-07-21 19:37:08 -07:00
MithicSpirit
462df32d4c
batdiff: Fix use of deprecated --hunk-style
...
Delta has deprecated --hunk-style in favor of its synonym
--hunk-header-decoration-style. See
https://github.com/dandavison/delta/releases/tag/0.12.0
2022-07-21 19:37:08 -07:00