Commit Graph

231 Commits

Author SHA1 Message Date
de60ea0c10 developer: Update test framework 2020-10-28 19:05:00 -07:00
b5cb20cb23 batgrep: Allow searching through STDIN (#42) 2020-10-28 18:10:17 -07:00
0df5cffb84 mdroff: Fix warning that appears in tables 2020-10-04 12:15:27 -07:00
6b6016dad4 developer: Bump version to 2020.10.05 v2020.10.05 2020-10-04 11:58:56 -07:00
01a6e9cf15 developer: Include manpages in release archive 2020-10-04 11:58:44 -07:00
7d2d861d7d build: Build manuals by default 2020-10-04 11:51:45 -07:00
5fc43a2d8c docs: Convert usage section into code block to work around mdroff 2020-10-04 11:51:02 -07:00
644c817ba2 mdroff: Trim lines before emitting them 2020-10-04 11:50:29 -07:00
655038878b mdroff: Add very simple support for inline code blocks 2020-10-04 11:47:41 -07:00
cc8b70055e mdroff: Add proper nroff table support 2020-10-04 11:26:59 -07:00
9d356b8bc4 Bump version to 2020.10.04 v2020.10.04 2020-10-04 00:58:28 -07:00
3c5651bde9 release.sh: Stop packages from inlining alternate executable names 2020-10-04 00:57:57 -07:00
1f7d9c3fcc build.sh: Add option to prevent full executable paths from inlining 2020-10-04 00:56:01 -07:00
da24c59751 release.sh: Fix error and invalid alternate executable in release.sh 2020-10-04 00:41:14 -07:00
1fff0bcc51 lib: Add DEFAULT color to printc 2020-10-04 00:40:05 -07:00
5f5023d056 batgrep: Add simple parsing of RIPGREP_CONFIG_PATH. 2020-10-02 20:09:00 -07:00
dc50f28480 batgrep: Prevent RIPGREP_CONFIG_PATH context from breaking batgrep. 2020-10-02 19:58:41 -07:00
0494e41e66 Update prettybat caveats for header display fix (#39) 2020-10-02 19:50:48 -07:00
fa58888298 bat-modules: Add --modules-file option 2020-07-06 18:15:01 -07:00
df5b237273 batgrep: Add short flag number parsing for context options 2020-07-06 18:03:47 -07:00
e4999a7ffb lib: Add option parsing for short flags followed by number 2020-07-06 18:03:30 -07:00
38f56c1bc7 batwatch: Split hook_help into a lib script 2020-07-06 17:49:29 -07:00
69d9c38326 batwatch: small formatting changes 2020-07-06 17:43:37 -07:00
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
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
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
149f47fa66 Fix typo 2020-07-01 18:23:40 -07:00
6052d6ee17 batdiff/lib: Fix hardcoded git executable name (#35)
Thanks to @lilyball for pointing it out.
2020-06-17 17:53:20 -07:00
3029b6749f ci: Build manuals 2020-05-15 21:13:15 -07:00
da93f2f87f doc: Clean up documentation further 2020-05-15 21:08:43 -07:00
9f6e5c0164 build: Add experimental support for generating manpages 2020-05-15 21:05:46 -07:00
85c4cfbfe8 doc: Clean up command documentation 2020-05-15 20:53:59 -07:00
5fbf8adf41 build: Avoid unnecessary reprinting when verifying tests 2020-05-14 00:34:18 -07:00
43ddb984f5 build: Print failed tests to STDERR instead of STDOUT 2020-05-12 21:54:55 -07:00
f20a3ff9b8 build: Use detected system bat executable
You no longer have to specify the executable as batcat on Debian
or Ubuntu systems where the executable was renamed from bat.
2020-05-12 02:36:48 -07:00
c9f3125002 *: Automatically use 'batcat' when 'bat' is missing 2020-05-12 02:31:41 -07:00
840d339c97 build: Use STDOUT and STDERR appropriately 2020-05-12 02:21:38 -07:00
e250ad9b29 test: Add --no-config to bat shimexec 2020-05-06 18:57:04 -07:00
f9b18f7e8e test: Fix bat shimexec 2020-05-06 18:56:27 -07:00
875504ba06 test: Update test framework 2020-05-06 18:52:53 -07:00
529eb60498 build: Fix 'will_minify none' not working, leading to unnecessary warning (#30) 2020-05-03 18:28:07 -07:00
a3c4fa1014 build: Print shfmt error to stderr instead of stdout (#29) 2020-05-03 18:24:51 -07:00
5af706fc7c test: Update test framework 2020-05-02 17:16:50 -07:00
63101805be lib: Fix term_width to handle cases where stty size returns '0 0' 2020-05-02 17:11:30 -07:00
c98e21df04 lib: Reduce size of term_width function 2020-05-02 17:03:53 -07:00
427baf1491 lib: Add term.sh to more accurately get terminal width 2020-05-02 16:58:17 -07:00
bdc2e6ea01 test: Update test framework 2020-05-02 16:28:38 -07:00
e7a394a154 lib: Use 'awk' instead of '/usr/bin/awk' 2020-05-02 14:58:33 -07:00
d6db998042 developer: Bump version 2020-05-02 14:57:59 -07:00
360c5b819c test: Update test framework to fix on Bash 3.2 2020-05-02 14:54:04 -07:00