pull/3746/head
Junegunn Choi 3 weeks ago
parent cd7a0425ab
commit 2876205a0a
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -3,6 +3,10 @@ CHANGELOG
0.51.0
------
- Added `--with-shell` option to start child processes with a custom shell command and flags
```sh
fzf --with-shell 'ruby -e' --preview 'puts {}.upcase.reverse'
```
- Added `change-multi` action for dynamically changing `--multi` option
- `change-multi` - enable multi-select mode with no limit
- `change-multi(NUM)` - enable multi-select mode with a limit

@ -819,8 +819,10 @@ e.g. \fBfzf --multi | fzf --sync\fR
.RE
.TP
.B "--with-shell=STR"
Shell command prefix to start child processes with. The default value is
\fB$SHELL -c\fR if \fBSHELL\fR is set, otherwise \fBsh -c\fR on *nix systems.
Shell command and flags to start child processes with. On *nix Systems, the
default value is \fB$SHELL -c\fR if \fB$SHELL\fR is set, otherwise \fBsh -c\fR.
On Windows, the default value is \fBcmd /v:on/s/c\fR when \fB$SHELL\fR is not
set.
.RS
e.g. \fBfzf --with-shell 'ruby -e' --preview 'puts {}.upcase.reverse'\fR

@ -120,7 +120,7 @@ const usage = `usage: fzf [options]
--read0 Read input delimited by ASCII NUL characters
--print0 Print output delimited by ASCII NUL characters
--sync Synchronous search for multi-staged filtering
--with-shell=STR Shell command prefix to start child processes with
--with-shell=STR Shell command and flags to start child processes with
--listen[=[ADDR:]PORT] Start HTTP server to receive actions (POST /)
(To allow remote process execution, use --listen-unsafe)
--version Display version information and exit

Loading…
Cancel
Save