summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-11-04 03:14:38 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-11-04 03:14:38 +0900
commitaaef18295d6625d9445a5c91bf2f64f9b4464f3d (patch)
treeaf8376b74e237a5d4fdce0901294126bc3d3a1e4 /README.md
parent14f0d2035e0268f7d702432f25505695af81d7fa (diff)
Update FZF_DEFAULT_COMMAND example
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 44b5b6af..337457bb 100644
--- a/README.md
+++ b/README.md
@@ -132,8 +132,10 @@ start fzf with `-e` or `--exact` option. Note that when `--exact` is set,
- `FZF_DEFAULT_COMMAND`
- Default command to use when input is tty
+ - e.g. `export FZF_DEFAULT_COMMAND='ag -g ""'`
- `FZF_DEFAULT_OPTS`
- - Default options. e.g. `export FZF_DEFAULT_OPTS="--reverse --inline-info"`
+ - Default options
+ - e.g. `export FZF_DEFAULT_OPTS="--reverse --inline-info"`
Examples
--------
@@ -335,10 +337,10 @@ filtering:
```sh
# Feed the output of ag into fzf
-ag -l -g "" | fzf
+ag -g "" | fzf
# Setting ag as the default source for fzf
-export FZF_DEFAULT_COMMAND='ag -l -g ""'
+export FZF_DEFAULT_COMMAND='ag -g ""'
# Now fzf (w/o pipe) will use ag instead of find
fzf