tools/direnv: remove redundant focus-in hook

It's redundant with doom-switch-frame-hook
This commit is contained in:
Henrik Lissner 2019-08-27 00:09:50 -04:00
parent 8cb1fe1874
commit a9b5640d1f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -18,8 +18,7 @@ buffer/window/frame switch, which is less expensive."
(when direnv-mode
(add-hook 'doom-switch-buffer-hook #'direnv--maybe-update-environment)
(add-hook 'doom-switch-window-hook #'direnv--maybe-update-environment)
(add-hook 'doom-switch-frame-hook #'direnv--maybe-update-environment)
(add-hook 'focus-in-hook #'direnv--maybe-update-environment))))
(add-hook 'doom-switch-frame-hook #'direnv--maybe-update-environment))))
;; Fontify special .envrc keywords; it's a good indication of whether or not
;; we've typed them correctly.