Commit Graph

1070 Commits

Author SHA1 Message Date
David Peter 67aaf82d37 Update dependencies 2021-11-26 22:18:50 +01:00
David Peter f219da4b3a Use non-sync channel 2021-11-26 21:23:47 +01:00
Thayne McCombs e990a13405 squash! Add buffering to stdout when it's not a terminal
Co-authored-by: sourlemon207 <jw1756@protonmail.com>
2021-11-26 21:23:47 +01:00
Thayne McCombs 7b7876e701 Add entry for buffering to CHANGELOG 2021-11-26 21:23:47 +01:00
Thayne McCombs feac240eb5 Add buffering to stdout when it's not a terminal
This is based on the work of #736 by @sourlemon207.

I've added the suggestion I recommended on that PR.
2021-11-26 21:23:47 +01:00
David Peter fba6db5096 Modify example to a realistic use case 2021-11-26 19:31:06 +01:00
tacoda f2eb1be678 Add an example of the -X option using rg 2021-11-26 19:31:06 +01:00
David Peter b211ded5de
Merge pull request #861 from jcaplan/no-strip/760
show "./" prefix when search path provided
2021-11-26 19:27:44 +01:00
David Peter 92bd7850d0 Merge remote-tracking branch 'origin/master' into no-strip/760 2021-11-26 18:19:28 +01:00
David Peter 06c58b99f5 Update CHANGELOG 2021-11-26 17:58:18 +01:00
David Peter 776f8d0f11 Shorten short help text 2021-11-26 17:58:18 +01:00
David Peter 47421a49b8 Remove strip-prefix placeholders 2021-11-26 17:58:18 +01:00
David Peter f347379fb0 Adapt help text 2021-11-26 17:48:31 +01:00
David Peter 4d7e34ad59 Rename option to strip_cwd_prefix, rename CLI option 2021-11-26 17:46:04 +01:00
David Peter 359c0269ba Remove example from man page 2021-11-26 17:40:42 +01:00
David Peter 13cdfb32f8 Remove outdated comment 2021-11-26 17:40:07 +01:00
Shun Sakai 0484486f3f Remove `lazy_static` from dependencies 2021-11-25 20:06:43 +01:00
Jacob Mischka f32060b0de Change time comparisons to exclusive
Closes #794
2021-11-17 23:38:28 +01:00
Tavian Barnes fe992706ae Raise SIGINT when dying by ^C
Fixes #854.
2021-11-15 07:53:57 +01:00
Tavian Barnes 2b1bf471b1 Add an exit() method to ExitCode 2021-11-15 07:53:57 +01:00
David Peter cab31e280b Add missing single-tick in issue template 2021-11-15 07:38:48 +01:00
David Peter 088e42deef Improve --type help text
closes #823
2021-11-14 21:17:57 +01:00
David Peter ecdaf58e7f Update to latest lscolors dependency 2021-11-14 18:29:59 +01:00
David Peter fc2a972082 Add CHANGELOG entry 2021-11-14 17:42:16 +01:00
Tavian Barnes 66e3ccc5e1 Don't color each path component separately
It can be expensive to color each path component separately, requiring a
stat() call on each component.  For deep hierarchies this can result in
quadratic overhead.  Instead, just color the path up to the basename as
a directory.

Fixes #720.
2021-11-14 17:42:16 +01:00
David Peter 21fd013073 Improve --full-path documentation, closes #839 2021-11-14 17:16:44 +01:00
David Peter a539181f1f
Merge pull request #822 from Asha20/pr/opposing-options
Add opposing CLI options
2021-11-14 16:55:13 +01:00
David Peter cdc6a37ed6 Merge remote-tracking branch 'origin/master' into pr/opposing-options 2021-11-14 16:47:53 +01:00
David Peter 2570fbd04e Add longer help text for --prune, closes #727 2021-11-14 16:29:10 +01:00
David Peter 690976380d Add section concerning aliases, shell functions
closes #870
2021-11-14 16:21:26 +01:00
David Peter 828649a30d Revert "Add pemistahl as a maintainer"
This reverts commit c06c9952b6.
2021-11-14 13:58:57 +01:00
Tavian Barnes 20dc7a984d
Merge pull request #881 from cgjosephlee/master
fix zsh completion
2021-11-12 09:45:53 -05:00
Joseph Lee 653bc0e55d
fix zsh completion 2021-11-11 23:30:01 +08:00
Tavian Barnes e8fe1508e2
Merge pull request #878 from sharkdp/bug-form
Change bug_report from an issue template to an issue form
2021-11-03 11:34:24 -04:00
Thayne McCombs fd493eb709 Change bug_report from an issue template to an issue form 2021-11-03 02:33:46 -06:00
Tavian Barnes f1b39d49c1
Merge pull request #877 from tmccombs/dep-update
Update some dependencies
2021-11-02 22:12:43 -04:00
Thayne McCombs 1236b1dbcf Update some dependencies
Combination of dependabot prs.
2021-11-01 22:41:56 -06:00
Devon Hollowood 17dd2a6dfe
Implement `--batch-size` (#866) 2021-10-22 00:05:13 -06:00
Jonah Caplan bf9e6fd36e add -P option to strip prefix to tty 2021-10-17 00:29:51 -04:00
Jonah Caplan 46db1c4ef3 add {-} format for exec 2021-10-16 23:52:04 -04:00
Jonah Caplan b9cb5d54a4 fixup tests 2021-10-16 23:13:27 -04:00
Jonah Caplan a41021b0d2 use interactive_terminal 2021-10-16 14:34:58 -04:00
Jonah Caplan 82f04755bf hopefully fix build error on windows 2021-10-16 14:21:11 -04:00
Jonah Caplan c42bf4b904 don't strip paths for -X/x, and for tty output 2021-10-16 14:15:37 -04:00
Jonah Caplan fbc836b553 Revert -X stuff
This reverts commit 91860bf682.
2021-10-16 14:03:23 -04:00
Jonah Caplan 91860bf682 fmt 2021-10-16 00:02:37 -04:00
Jonah Caplan a4a4709320 rename Option to Config 2021-10-15 23:59:47 -04:00
Jonah Caplan b6f8bc8ff8 also handle -X and -x with no_strip 2021-10-15 23:57:03 -04:00
Jonah Caplan 782fc278aa add changelog entry 2021-10-15 23:57:03 -04:00
Jonah Caplan 12650a0913 add example to man page and correct test comment 2021-10-15 23:57:03 -04:00