Add bash rewrites of fzf and search modules

This commit is contained in:
Eric Torres
2022-09-13 23:08:00 -07:00
parent 84cb0a73d9
commit 482ef42403
2 changed files with 42 additions and 0 deletions

8
misc/fzf Normal file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
## FZF helpers
FZF_OPTS=(--read0 --select-1 --exit-0 --print0)
run_fzf() {
fzf "${FZF_OPTS[@]}" -- "$@"
}