Switch direnv package for envrc

This commit is contained in:
Evie Litherland-Smith 2024-05-23 13:38:13 +01:00
parent fea4d45249
commit 89eedc5419
2 changed files with 9 additions and 9 deletions

16
init.el
View file

@ -816,12 +816,15 @@
(use-package rainbow-delimiters (use-package rainbow-delimiters
:hook (prog-mode)) :hook (prog-mode))
(use-package direnv (use-package envrc
:custom (direnv-always-show-summary nil) :hook (after-init . envrc-global-mode)
:config (direnv-mode +1)) :custom
(envrc-show-summary-in-minibuffer t))
(with-eval-after-load 'gud (use-package gud
(setopt gdb-many-windows t)) :defer t
:config
(setq gdb-many-windows t))
(use-package treesit (use-package treesit
:custom :custom
@ -833,9 +836,6 @@
(treesit-auto-add-to-auto-mode-alist) (treesit-auto-add-to-auto-mode-alist)
(global-treesit-auto-mode +1)) (global-treesit-auto-mode +1))
(with-eval-after-load 'rust-mode
(setq rust-ts-mode-hook rust-mode-hook))
(use-package eldoc (use-package eldoc
:custom :custom
(eldoc-echo-area-display-truncation-message nil) (eldoc-echo-area-display-truncation-message nil)

View file

@ -17,7 +17,7 @@
;; password-store ;; password-store
pass password-store password-store-otp pass password-store password-store-otp
;; IDE ;; IDE
treesit-auto flymake-popon flymake-ruff flymake-shellcheck flymake-yamllint apheleia direnv rainbow-delimiters aggressive-indent python-docstring nix-mode lua-mode treesit-auto flymake-popon flymake-ruff flymake-shellcheck flymake-yamllint apheleia envrc rainbow-delimiters aggressive-indent python-docstring nix-mode lua-mode
;; Media ;; Media
emms emms
;; org-mode ;; org-mode