[man] Clarify that $SHELL is used to run commands (#2334)

SHELL is used for execute actions and the preview and default commands.
pull/2340/head
step 3 years ago committed by GitHub
parent 0e0bcb3e10
commit a0649edc1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -570,7 +570,8 @@ Note that most options have the opposite versions with \fB--no-\fR prefix.
.TP
.B FZF_DEFAULT_COMMAND
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.
with \fB$SHELL -c\fR if \fBSHELL\fR is set, otherwise with \fBsh -c\fR, so in
this case make sure that the command is POSIX-compliant.
.TP
.B FZF_DEFAULT_OPTS
Default options. e.g. \fBexport FZF_DEFAULT_OPTS="--extended --cycle"\fR
@ -890,6 +891,10 @@ executes the command without the switching. Note that fzf will not be
responsive until the command is complete. For asynchronous execution, start
your command as a background process (i.e. appending \fB&\fR).
On *nix systems, fzf runs the command with \fB$SHELL -c\fR if \fBSHELL\fR is
set, otherwise with \fBsh -c\fR, so in this case make sure that the command is
POSIX-compliant.
.SS RELOAD INPUT
\fBreload(...)\fR action is used to dynamically update the input list

Loading…
Cancel
Save