diff --git a/Examples.md b/Examples.md index fdcbb5c..b78fedd 100644 --- a/Examples.md +++ b/Examples.md @@ -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 +# find-in-file - usage: fif 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