Skip to content

Commit

Permalink
Use tokens for client highlighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
einnjo authored Oct 21, 2017
1 parent 0c4edde commit 8708fcb
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions pages/common/fd.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,22 @@

> A simple, fast and user-friendly alternative to find.
- Find files under current dir that match foo:
- Find files under current dir that match a pattern:

`fd foo`
`fd {{pattern}}`

- Find files that begin with foo:

`fd '^foo'`
`fd {{'^foo'}}`

- Find files matching test with a specific extension and under a specific dir:
- Find files with a specific extension:

`fd --extension js test ./src`
`fd --extension {{.ext}} {{pattern}}`

- Find files matching config, include ignored and hidden files:
- Find files under a specific dir:

`fd --hidden --no-ignore config`
`fd {{pattern}} {{path/to/dir}}`

- Include ignored and hidden files in search:

`fd --hidden --no-ignore {{pattern}}`

0 comments on commit 8708fcb

Please sign in to comment.