mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-20 17:43:42 -05:00
fo to open files (primarily for videos)
11
examples.md
11
examples.md
@@ -121,4 +121,15 @@ fs() {
|
||||
fzf --query="$1" --select-1 --exit-0) &&
|
||||
tmux switch-client -t "$session"
|
||||
}
|
||||
```
|
||||
|
||||
open files
|
||||
----
|
||||
|
||||
```sh
|
||||
fo() {
|
||||
local file
|
||||
file=$(fzf --query="$1" --select-1 --exit-0)
|
||||
[ -n "$file" ] && open "$file"
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user