~abcdw/rde-devel

gnu: home-services: shellutils: Add home-bash-direnv-service-type v1 APPLIED

Nikita Domnitskii
Nikita Domnitskii: 1
 gnu: home-services: shellutils: Add home-bash-direnv-service-type

 1 files changed, 16 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~abcdw/rde-devel/patches/23492/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] gnu: home-services: shellutils: Add home-bash-direnv-service-type Export this patch

Nikita Domnitskii
From: Nikita Domnitskii <nikita@domnitskii.me>

---
 gnu/home-services/shellutils.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/gnu/home-services/shellutils.scm b/gnu/home-services/shellutils.scm
index 6e8c14e..921588c 100644
--- a/gnu/home-services/shellutils.scm
+++ b/gnu/home-services/shellutils.scm
@@ -12,7 +12,8 @@

  #:export (home-zsh-plugin-manager-service-type
	    home-zsh-autosuggestions-service-type
	    home-zsh-direnv-service-type))
	    home-zsh-direnv-service-type
            home-bash-direnv-service-type))

(define (add-zsh-plugins-load-command packages)
  (home-zsh-extension
@@ -75,3 +76,17 @@ to improve perfomance.")))
   (default-value #f)
   (description "Enable Direnv integration for Zsh.")))

(define home-bash-direnv-service-type
  (service-type
   (name 'home-bash-direnv)
   (extensions
    (list
     (service-extension
      home-profile-service-type
      (const (list direnv)))
     (service-extension
      home-bash-service-type
      (const (home-bash-extension
              (bashrc (list "eval \"$(direnv hook bash)\"")))))))
   (default-value #f)
   (description "Enable Direnv integration for bash.")))
-- 
2.32.0
Nikita Domnitskii <nikita@domnitskii.me> writes: