diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-11-04 03:14:38 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-11-04 03:14:38 +0900 |
commit | aaef18295d6625d9445a5c91bf2f64f9b4464f3d (patch) | |
tree | af8376b74e237a5d4fdce0901294126bc3d3a1e4 /README.md | |
parent | 14f0d2035e0268f7d702432f25505695af81d7fa (diff) |
Update FZF_DEFAULT_COMMAND example
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |