m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 09:03:43 -05:00

Add become(...) action that replaces current fzf process

Close #3159
This commit is contained in:
Junegunn Choi
2023-02-11 20:21:10 +09:00
parent f7447aece1
commit 6ea38b4438
5 changed files with 56 additions and 7 deletions

View File

@@ -4,6 +4,15 @@ CHANGELOG
0.38.0
------
- New actions
- `become(...)` - Replace the current fzf process with the specified
command using `execve(2)` system call. This action enables a simpler
alternative to using `--expect` and checking the output in the wrapping
script.
```sh
# Open selected files in different editors
fzf --multi --bind 'enter:become($EDITOR {+}),ctrl-n:become(nano {+})'
```
- This action is not supported on Windows
- `show-preview`
- `hide-preview`
- Bug fixes