Commit Graph

218 Commits

Author SHA1 Message Date
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
fb9730001f docs: Change markdown that may be parsed incorrectly 2020-05-02 01:32:00 -07:00
f9bdcc9494 test: Update test framework 2020-05-01 23:59:31 -07:00
20a0058014 lib: Fix issue when pagers read an empty argument as a file v2020.05.01 2020-05-01 23:03:59 -07:00
d29915f141 Revert "lib: Remove unused function in pager lib"
This reverts commit 309a2169ba.
2020-05-01 22:59:09 -07:00
d5fa65132d lib: Remove opt_hooks.sh and edit scripts to source lib files directly 2020-04-30 22:11:36 -07:00
50e9cd8caa developer: Update build.sh to remove redundant copyright comments 2020-04-30 22:06:11 -07:00
275c66b213 developer: Fix build.sh to inline EXECUTABLE_DELTA constant 2020-04-30 21:57:54 -07:00
29fb251348 test: Update tests to shim stty instead of tput
Since we removed a dependency on tput, it makes more sense to shim the
command that we replaced it with.
2020-04-30 21:47:59 -07:00
7dc1c509fb developer: Update release script for improved release description 2020-04-30 21:37:08 -07:00
19f49bb5ee developer: Update release script 2020-04-30 21:07:28 -07:00
57b129e1f7 Bump version to 2020.04.30 2020-04-30 20:44:53 -07:00
820eae1e9d test: Update test framework 2020-04-30 20:42:23 -07:00
309a2169ba lib: Remove unused function in pager lib 2020-04-30 20:37:17 -07:00