From 0e06e298d4d11bad051b614808305ec7486d81aa Mon Sep 17 00:00:00 2001 From: Junegunn Choi <junegunn.c@gmail.com> Date: Sun, 30 Sep 2018 22:19:09 +0900 Subject: [PATCH] [man] Document that FZF_DEFAULT_COMMAND should be POSIX-compliant Close #1379 --- man/man1/fzf.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index a7462131..4285ce90 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -390,7 +390,8 @@ Note that most options have the opposite versions with \fB--no-\fR prefix. .SH ENVIRONMENT VARIABLES .TP .B FZF_DEFAULT_COMMAND -Default command to use when input is tty +Default command to use when input is tty. On *nix systems, fzf runs the command +with \fBsh -c\fR, so make sure that it's POSIX-compliant. .TP .B FZF_DEFAULT_OPTS Default options. e.g. \fBexport FZF_DEFAULT_OPTS="--extended --cycle"\fR -- GitLab