 
 (use-package ripgrep
   :ensure t
+  ;; :ensure-system-package ripgrep
   :commands ripgrep-regexp projectile-ripgrep)
 
 (use-package anzu


(use-package rg
  :ensure t
  :ensure-system-package rg
  :commands rg rg-project
  :init
  (rg-enable-default-bindings (kbd "s-/"))

  :commands exec-path-from-shell-initialize
  :init
  (add-hook 'after-init-hook
            (lambda () (when (memq window-system '(mac ns x))
                    (exec-path-from-shell-initialize))))
  :config
  (setq exec-path-from-shell-check-startup-files nil))

