Skip to content

Commit

Permalink
Update troubleshooting section
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Dec 19, 2023
1 parent a03ed8b commit 07343b5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,15 @@ also used in [ripgrep](https://github.com/BurntSushi/ripgrep) (check it out!).

## Troubleshooting

### `fd` does not find my file!

Remember that `fd` ignores hidden directories and files by default. It also ignores patterns
from `.gitignore` files. If you want to make sure to find absolutely every possible file, always
use the options `-u`/`--unrestricted` option (or `-HI` to enable hidden and ignored files):
``` bash
> fd -u …
```

### Colorized output

`fd` can colorize files by extension, just like `ls`. In order for this to work, the environment
Expand All @@ -386,15 +395,6 @@ for alternative, more complete (or more colorful) variants, see [here](https://g

`fd` also honors the [`NO_COLOR`](https://no-color.org/) environment variable.

### `fd` does not find my file!

Remember that `fd` ignores hidden directories and files by default. It also ignores patterns
from `.gitignore` files. If you want to make sure to find absolutely every possible file, always
use the options `-u`/`--unrestricted` option (or `-HI` to enable hidden and ignored files):
``` bash
> fd -u …
```

### `fd` doesn't seem to interpret my regex pattern correctly

A lot of special regex characters (like `[]`, `^`, `$`, ..) are also special characters in your
Expand Down

0 comments on commit 07343b5

Please sign in to comment.