 
 (use-package magit
   :ensure t
-  :defer 3)
+  :defer 3
+  :config
+  (setq magit-completing-read-function 'ivy-completing-read))
 
 (use-package magithub
   :load-path (lambda () (concat user-emacs-directory "temp/magithub"))

                                (t . ivy--regex-plus))
        ivy-virtual-abbreviate 'full
        ivy-wrap t
        magit-completing-read-function 'ivy-completing-read
        smex-completion-method         'ivy))

(use-package ivy-hydra
  :ensure t

  :ensure t
  :after counsel
  :init
  (setq smex-save-file (concat user-emacs-directory ".cache/smex-items"))
  :config
  (setq smex-completion-method 'ivy)
  (smex-initialize))

(use-package projectile
  :ensure t
