mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 08:13:40 -05:00
Updated Examples (markdown)
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user