m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 17:13:42 -05:00

Updated Examples (markdown)

Matthew Bennett
2020-10-17 17:52:41 +02:00
parent e1e539e7e5
commit 86ef5e18f3

@@ -129,9 +129,8 @@ f cd # (hit enter, choose path)
f cat # (hit enter, choose files) f cat # (hit enter, choose files)
f vim # (hit enter, choose files) f vim # (hit enter, choose files)
f vlc # (hit enter, choose files) f vlc # (hit enter, choose files)
```
The function: # the function:
```sh
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))