Commit graph

1023 commits

Author SHA1 Message Date
Vukašin Stepanović
37852aa388 Add 5 opposing CLI options
Those are:
  - `--no-hidden`, which overrides `--hidden`
  - `--ignore`, which overrides `--no-ignore`
  - `--ignore-vcs`, which overrides `--no-ignore-vcs`
  - `--no-follow`, which overrides `--follow`
  - `--relative-path`, which overrides `--absolute-path`
2021-08-09 15:49:48 +02:00
Sean Joseph
25d7c4801f Changed to better whole word example 2021-08-09 13:42:45 +02:00
Sean Joseph
d34e18a58c Added example for searching exactly a filename 2021-08-09 13:42:45 +02:00
Jacob Mischka
ba60a163fe Use local times for time functions
This patch uses Chrono for explicit date or datetime parsing, only using
humantime for its relative time parsing. The following formats are accepted:

1. Full RFC3339 parsing, requiring an explicit timezone
2. `YY-MM-DD`, defaulting to time `00:00:00` for the given date in the
   local time zone
3. `YY-MM-DD HH:MM:SS` in the local time zone

Fixes #631, #794
2021-08-09 13:40:55 +02:00
himself65
4e04d13215 Fix return out of match pattern 2021-08-09 13:36:09 +02:00
David Peter
c37592b0b7 Add tavianator as a maintainer 2021-08-09 07:34:26 +02:00
David Peter
224b7f2354 Silence wrong clippy warning 2021-08-08 23:48:20 +02:00
William Correia
f8ae334ca9
Add --no-ignore-parent flag
- Flag toggles parent checking in the `ignore` crate.  This should
  affect both git and non-git ignore files.
- Updated Changelog.
2021-08-08 17:38:24 -04:00
David Peter
b5344dac30 Improve -x/-X help text and man page description
closes #605
2021-08-08 22:58:13 +02:00
David Peter
018556a367 Add CHANGELOG entries 2021-08-08 15:04:28 +02:00
David Peter
aeff525c30 Attempt to fix #365 2021-08-08 15:02:01 +02:00
David Peter
2d398dc4a7 Fix directory-existence check on Windows
This fixes a bug on Windows where `fd` could not be used on ram disks
and encrypted folders.

closes #752
2021-08-08 15:02:01 +02:00
David Peter
6e44828cc8 Add CHANGELOG entry 2021-08-08 13:13:58 +02:00
David Peter
b507449146 Handle IO errors based on type, closes #737 2021-08-08 13:10:16 +02:00
David Peter
d9697d1486 Make the path-separator check Windows-only 2021-08-08 13:03:31 +02:00
David Peter
515e0ee469 Do not use .clone() 2021-08-08 13:03:31 +02:00
David Peter
a0ca460901 Adjust error message 2021-08-08 13:03:31 +02:00
Kaleb Olson
693325bcf2 Adds path separator checking and hint for automatic / expansion for some windows shells, eg., msys 2021-08-08 13:03:31 +02:00
dependabot[bot]
ab81cad3b5 Bump regex from 1.4.6 to 1.5.4
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.6 to 1.5.4.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.4.6...1.5.4)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 12:14:50 +02:00
dependabot[bot]
70850629e9 Bump globset from 0.4.6 to 0.4.8
Bumps [globset](https://github.com/BurntSushi/ripgrep) from 0.4.6 to 0.4.8.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/globset-0.4.6...globset-0.4.8)

---
updated-dependencies:
- dependency-name: globset
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 12:14:41 +02:00
dependabot[bot]
8b0db189a1 Bump ctrlc from 3.1.7 to 3.1.9
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc) from 3.1.7 to 3.1.9.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases)
- [Commits](https://github.com/Detegr/rust-ctrlc/compare/3.1.7...3.1.9)

---
updated-dependencies:
- dependency-name: ctrlc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 11:48:54 +02:00
dependabot[bot]
ad1b267601 Bump filetime from 0.2.13 to 0.2.14
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/alexcrichton/filetime/releases)
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.13...0.2.14)

---
updated-dependencies:
- dependency-name: filetime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 11:48:47 +02:00
dependabot[bot]
04829c287d Bump anyhow from 1.0.35 to 1.0.42
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.35 to 1.0.42.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.35...1.0.42)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 11:43:15 +02:00
dependabot[bot]
ca92bea0d7 Bump version_check from 0.9.2 to 0.9.3
Bumps [version_check](https://github.com/SergioBenitez/version_check) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/SergioBenitez/version_check/releases)
- [Commits](https://github.com/SergioBenitez/version_check/compare/v0.9.2...v0.9.3)

---
updated-dependencies:
- dependency-name: version_check
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 11:43:01 +02:00
dependabot[bot]
252beb8df7 Bump libc from 0.2.80 to 0.2.98
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.80 to 0.2.98.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.80...0.2.98)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 11:42:55 +02:00
dependabot[bot]
b80764b19a Bump regex from 1.4.2 to 1.4.6
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.2 to 1.4.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.4.2...1.4.6)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 11:27:36 +02:00
Daniel Bast
148fa64a73 Change dependabot interval to monthly 2021-08-08 11:15:18 +02:00
Daniel Bast
6ce55624f7 Add dependabot config for cargo updates 2021-08-08 11:15:18 +02:00
David Peter
708efaa812 Literal separators 2021-07-27 09:05:23 +02:00
David Peter
a7a4499d1d Fix unneeded references 2021-07-27 09:05:23 +02:00
David Peter
2a2126c40a Fix clippy warnings 2021-07-27 09:05:23 +02:00
David Peter
db30bfc2b7
Update README.md 2021-07-26 22:34:03 +02:00
David Peter
81a051f07c Fix shell completion path 2021-07-26 22:33:27 +02:00
David Peter
95d6470956 Fix stripping on arm musl target 2021-07-26 22:33:27 +02:00
David Peter
e59a2001cc Fix shell completion path 2021-07-26 22:33:27 +02:00
David Peter
c60338a28b Adapt test options 2021-07-26 22:33:27 +02:00
David Peter
16464a35b1 Fix man page path 2021-07-26 22:33:27 +02:00
David Peter
1d85e31260 Migrate to GitHub actions 2021-07-26 22:33:27 +02:00
Thayne McCombs
024309f378
Add comment to README about making sure .local/bin is on PATH (#797)
To make it more clear how to set up the symlin on debian/ubuntu.

Fixes #791
2021-07-20 09:05:01 -06:00
Luca Poldelmengo
ac4ded5b27 Add explanation for musl releases 2021-06-20 10:26:58 +02:00
Sudeshna Sur
c9873b4b82 A few spell-checks is required in the readme file
fd is a program to find entries in your 'filesytem'. It must be filesystem instead :)
2021-05-25 06:35:46 +02:00
Kaspar
07ebce9419 Add rofi to integration with other programs in README.md
As discussed in ISSUE #753
2021-05-13 11:40:10 +02:00
Delapouite
f60b7687a2 doc: add link to GNU parallel 2021-03-14 20:10:47 +01:00
Andrew Mitchell
cb385a4822
Issue 624 newer older help text (#733)
* Document the newer and older aliases in the help text

* Documentation for new older aliases, remove commas

* Adds better clarification on alias usage for newer and older

* Fixes inconsistencies in help text for newer and older aliases
2021-02-25 07:39:44 +01:00
David Peter
efc71bc00b Update CHANGELOG 2021-02-15 22:53:50 +01:00
Allen Wild
1a3615df9c set default path separator to '/' in MSYS
MSYS and MSYS2 environments (such as Git Bash) have a UNIX like
filesystem which uses '/' as the path separator rather than '\', but
Rust doesn't know about this by default.

On Windows, check the MSYSTEM environment variable and set the default
value of the --path-separator option to '/' for convenience.

There is no similar detection of Cygwin because there seems to be no way
for Rust (and any native Win32) programs to detect that they're being
called from a Cygwin environment. Cygwin users can use a shell
alias/function/script to wrap fd.

Fixes: https://github.com/sharkdp/fd/issues/537
2021-02-15 20:08:59 +01:00
David Peter
cf7dd43f80 Hide --print0 from the short help text 2021-02-14 20:02:37 +01:00
David Peter
4ebb3bbc81 Explain what will be executed 2021-02-14 19:59:53 +01:00
David Peter
d283aba52e Move command execution section 2021-02-14 19:51:10 +01:00
David Peter
5423c45660 Update command execution section 2021-02-14 19:50:50 +01:00