Commit graph

1013 commits

Author SHA1 Message Date
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
Jonah Caplan
2e115df9e7 simplify check in prent_entry 2021-10-15 23:57:03 -04:00
Jonah Caplan
953f586f26 replace -N option with specifying '.' path 2021-10-15 23:57:03 -04:00
Jonah Caplan
08d913f167 cargo fmt fixup 2021-10-15 23:56:36 -04:00
Jonah Caplan
6b92c5db90 add -N/--no-strip option to show "./" prefix on relative paths 2021-10-15 23:56:36 -04:00
Tavian Barnes
7b5b3ec47b walk: Add a cache for DirEntry metadata 2021-10-13 09:13:44 +02:00
Niklas Mohrin
02e9850112 Refactor: Rename Options to Config 2021-10-12 18:49:07 +02:00
Niklas Mohrin
b8c575cc8f Refactor: extract some methods out of run and reorder main.rs
Now, the top method is `main`, then comes `run`, then the methods used
in `run` follow. Generally, a method is always declared somewhere after
its first use. This way, you can read the file from top to bottom with
a decreasing level of abstraction (you start with very high-level
processes like setting the current dir and logic for which ls command to
use only comes furher down).
2021-10-12 18:49:07 +02:00