Commit Graph

299 Commits

Author SHA1 Message Date
Ethan P
fa32c5875d
batpipe: Fix incorrect detection of inner paths 2021-03-24 19:49:28 -07:00
Ethan P
55eaf189dc
batpipe: Add better support for less 2021-03-24 19:34:41 -07:00
Ethan P
c5e7f5f185
docs: Add docs for batpipe 2021-03-24 19:00:35 -07:00
Ethan P
652c3e5c3b
mdroff: Support h3-h5 2021-03-24 18:59:21 -07:00
Ethan P
b85c7c43e3
batpipe: Add batpipe script 2021-03-24 18:35:56 -07:00
Ethan P
dd07f98367
lib: Add NO_COLOR support 2021-03-24 17:08:51 -07:00
Ethan P
d8e7cd1d1b
lib: Update copyright year to 2021 2021-03-24 15:59:43 -07:00
Ethan P
b275282e36
prettybat: Add checks to ensure that files exist 2020-12-16 17:15:35 -08:00
Jeremy Paige
165fc69d34 Add python formatter black to prettybat 2020-12-16 16:57:59 -08:00
Ethan P
eb69d61ff8
developer: Fix build.sh install failing when no PREFIX/bin dir 2020-12-03 04:40:34 -08:00
Ethan P
0d9468e1cf
developer: Update test framework 2020-10-29 01:35:47 -07:00
Ethan P
7549ffd986
batgrep: Clean up handling of RIPGREP_CONFIG_PATH 2020-10-29 01:28:26 -07:00
Ethan P
65a2f7561e
lib: Update option parser to better support short options 2020-10-29 01:24:32 -07:00
Ethan P
bb94b33353
lib: Improve tests and docs for opt lib 2020-10-28 20:04:08 -07:00
Ethan P
0f6529a0d8
batdiff: Make --all default behavior for no arguments 2020-10-28 19:40:35 -07:00
Ethan P
4761b594a6
developer: Fix bat reading data from stdin during tests 2020-10-28 19:32:24 -07:00
Ethan P
a6a1e55522
batgrep: Remove hardcoded reference to ripgrep executable 2020-10-28 19:19:51 -07:00
Ethan P
40a66d934d
batgrep: Add test for searching from stdin contents (#42) 2020-10-28 19:19:46 -07:00
Ethan P
de60ea0c10
developer: Update test framework 2020-10-28 19:05:00 -07:00
Ethan P
b5cb20cb23
batgrep: Allow searching through STDIN (#42) 2020-10-28 18:10:17 -07:00
Ethan P
0df5cffb84
mdroff: Fix warning that appears in tables 2020-10-04 12:15:27 -07:00
Ethan P
6b6016dad4
developer: Bump version to 2020.10.05 2020-10-04 11:58:56 -07:00
Ethan P
01a6e9cf15
developer: Include manpages in release archive 2020-10-04 11:58:44 -07:00
Ethan P
7d2d861d7d
build: Build manuals by default 2020-10-04 11:51:45 -07:00
Ethan P
5fc43a2d8c
docs: Convert usage section into code block to work around mdroff 2020-10-04 11:51:02 -07:00
Ethan P
644c817ba2
mdroff: Trim lines before emitting them 2020-10-04 11:50:29 -07:00
Ethan P
655038878b
mdroff: Add very simple support for inline code blocks 2020-10-04 11:47:41 -07:00
Ethan P
cc8b70055e
mdroff: Add proper nroff table support 2020-10-04 11:26:59 -07:00
Ethan P
9d356b8bc4
Bump version to 2020.10.04 2020-10-04 00:58:28 -07:00
Ethan P
3c5651bde9
release.sh: Stop packages from inlining alternate executable names 2020-10-04 00:57:57 -07:00
Ethan P
1f7d9c3fcc
build.sh: Add option to prevent full executable paths from inlining 2020-10-04 00:56:01 -07:00
Ethan P
da24c59751
release.sh: Fix error and invalid alternate executable in release.sh 2020-10-04 00:41:14 -07:00
Ethan P
1fff0bcc51
lib: Add DEFAULT color to printc 2020-10-04 00:40:05 -07:00
Ethan P
5f5023d056
batgrep: Add simple parsing of RIPGREP_CONFIG_PATH. 2020-10-02 20:09:00 -07:00
Ethan P
dc50f28480
batgrep: Prevent RIPGREP_CONFIG_PATH context from breaking batgrep. 2020-10-02 19:58:41 -07:00
Ethan P
0494e41e66
Update prettybat caveats for header display fix (#39) 2020-10-02 19:50:48 -07:00
Ethan P
fa58888298
bat-modules: Add --modules-file option 2020-07-06 18:15:01 -07:00
Ethan P
df5b237273
batgrep: Add short flag number parsing for context options 2020-07-06 18:03:47 -07:00
Ethan P
e4999a7ffb
lib: Add option parsing for short flags followed by number 2020-07-06 18:03:30 -07:00
Ethan P
38f56c1bc7
batwatch: Split hook_help into a lib script 2020-07-06 17:49:29 -07:00
Ethan P
69d9c38326
batwatch: small formatting changes 2020-07-06 17:43:37 -07:00
Alissa Huskey
990a1dc397 Minor refactor
- Use read to split on space between name and flags instead of paramater
  expansion.
2020-07-06 17:36:03 -07:00
Alissa Huskey
57be774f88 Fix gnu stat flag
- fix gnu stat formatting option from %z to %Z
- use read with a one second timeout instead of sleep, then quit if user
  responds with "q" (for testing, mostly)
- call pager_exec on entr and bat line instead of main so that --clear
  works
2020-07-06 17:36:03 -07:00
Alissa Huskey
4c09718a46 batwatch changes to reveal a bug and add --help
- Add `-h` and `--help` flags to print out basic usage.
- Refactor determine_stat_variant so that it checks to make sure the
value from `stat` is a epoch timestamp, and exit noisily if it is not.
- Change `determine_watcher` to set the `OPT_WATCHER` global directory
directly instead of echoing it then being called from a subshell. There
was an errror that the subshell was obscuring.
- Add a test to reflect the bug.
2020-07-06 17:36:03 -07:00
Ethan P
149f47fa66
Fix typo 2020-07-01 18:23:40 -07:00
Ethan P
6052d6ee17
batdiff/lib: Fix hardcoded git executable name (#35)
Thanks to @lilyball for pointing it out.
2020-06-17 17:53:20 -07:00
Ethan P
3029b6749f
ci: Build manuals 2020-05-15 21:13:15 -07:00
Ethan P
da93f2f87f
doc: Clean up documentation further 2020-05-15 21:08:43 -07:00
Ethan P
9f6e5c0164
build: Add experimental support for generating manpages 2020-05-15 21:05:46 -07:00
Ethan P
85c4cfbfe8
doc: Clean up command documentation 2020-05-15 20:53:59 -07:00