URI:
       zsh: add pdfgrep - dotfiles - 🍚 personal arsenal of "rice"
  HTML git clone https://git.drkhsh.at/dotfiles.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit cb841b9cbd2af3a53bcfc2fbcd653d6cd740552e
   DIR parent fe7e6be892798420fba83bba6cd30a7e4861e591
  HTML Author: drkhsh <me@drkhsh.at>
       Date:   Tue, 15 Jul 2025 19:14:17 +0200
       
       zsh: add pdfgrep
       
       Diffstat:
         M zsh/.config/zsh/14-functions.zsh    |       5 +++++
       
       1 file changed, 5 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/zsh/.config/zsh/14-functions.zsh b/zsh/.config/zsh/14-functions.zsh
       @@ -148,3 +148,8 @@ snarf() {
                eval $c $@
                [ -n "$DISPLAY" ] && notify-send "copied to clipboard"
        }
       +
       +function pdfgrep() {
       +        # shellcheck disable=SC2156
       +        find . -name '*.pdf' -exec sh -c '/usr/bin/pdftotext "{}" - | grep --with-filename --label="{}" --color '"$1" \;
       +}