From 5254ee2e2a78f165d61edca1af6ce55e0dbe0921 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 22 Jun 2015 01:35:36 +0900 Subject: [PATCH] Update documentation (#277) --- README.md | 7 +++++++ man/man1/fzf.1 | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c5dd3f4d..d460279a 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,13 @@ such as: `^music .mp3$ sbtrkt !rmx` If you don't need fuzzy matching and do not wish to "quote" every word, start fzf with `-e` or `--extended-exact` option. +#### Environment variables + +- `FZF_DEFAULT_COMMAND` + - Default command to use when input is tty +- `FZF_DEFAULT_OPTS` + - Default options. e.g. `export FZF_DEFAULT_OPTS="--extended --cycle"` + Examples -------- diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index c1ad1c2c..532e0dfc 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -297,7 +297,7 @@ e.g. \fBfzf --multi | fzf --sync\fR Default command to use when input is tty .TP .B FZF_DEFAULT_OPTS -Default options. e.g. \fB--extended --ansi\fR +Default options. e.g. \fBexport FZF_DEFAULT_OPTS="--extended --cycle"\fR .SH EXIT STATUS .BR 0 " Normal exit"