m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 16:45:38 -05:00

Updated Examples (markdown)

Matthew Bennett
2020-10-17 17:37:02 +02:00
parent 78f5051503
commit 3c111684d3

@@ -123,6 +123,10 @@ fo() {
```sh ```sh
# select files with fzf and send to command. # select files with fzf and send to command.
# Put non-GUI processes in the foreground # Put non-GUI processes in the foreground
# Usage:
# f cd (hit enter, choose path)
# f vim (hit enter, choose files)
# f vlc (hit enter, choose files)
f() { f() {
# store the files from fzf # store the files from fzf
IFS=$'\n' files=($(fzf --query="$2" --multi)) IFS=$'\n' files=($(fzf --query="$2" --multi))