From 8708fcbee3373896ebe411259ee93dc8d11a46ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Le=C3=B1ero?= Date: Fri, 20 Oct 2017 21:24:07 -0500 Subject: [PATCH] Use tokens for client highlighting. --- pages/common/fd.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pages/common/fd.md b/pages/common/fd.md index a73e5cf5f..7edaf1944 100644 --- a/pages/common/fd.md +++ b/pages/common/fd.md @@ -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}}`