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

Updated Examples (markdown)

gbstan
2019-12-13 10:54:11 +00:00
parent 160372a48f
commit e5545dfd86

@@ -301,7 +301,7 @@ Suggested by [@gbstan](https://github.com/gbstan)
# alternative using ripgrep-all (rga) combined with fzf-tmux preview
# implementation below makes use of "open" on macOS, which can be replaced by other commands if needed.
# allows to search in PDFs, E-Books, Office documents, zip, tar.gz, etc. (see https://github.com/phiresky/ripgrep-all)
# find-in-file - usage: fif <searchTerm>
# find-in-file - usage: fif <searchTerm> or fif "string with spaces" or fif "regex"
fif() {
if [ ! "$#" -gt 0 ]; then echo "Need a string to search for!"; return 1; fi
local file