guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: home: services: shells: Export Fish environment v


From: guix-commits
Subject: branch master updated: home: services: shells: Export Fish environment variables.
Date: Wed, 29 Jun 2022 14:41:01 -0400

This is an automated email from the git hooks/post-receive script.

nckx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 75a520cca6 home: services: shells: Export Fish environment variables.
75a520cca6 is described below

commit 75a520cca62ea105a6fbb7f1d74b3a4ef439cd73
Author: ( <paren@disroot.org>
AuthorDate: Wed Jun 29 07:53:33 2022 +0100

    home: services: shells: Export Fish environment variables.
    
    Variables set in the Fish configuration weren't previously being
    exported.
    
    * gnu/home/services/shells.scm (serialize-fish-env-vars): Output the
    `set -x` command instead of `set`.
    
    Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
 gnu/home/services/shells.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/home/services/shells.scm b/gnu/home/services/shells.scm
index fd5a66090d..dda80736b1 100644
--- a/gnu/home/services/shells.scm
+++ b/gnu/home/services/shells.scm
@@ -555,9 +555,9 @@ with text blocks from other extensions and the base 
service."))
                ((key . #f)
                 "")
                ((key . #t)
-                #~(string-append "set " #$key "\n"))
+                #~(string-append "set -x " #$key "\n"))
                ((key . value)
-                #~(string-append "set " #$key " "  #$value "\n")))
+                #~(string-append "set -x " #$key " "  #$value "\n")))
              val)))
 
 (define-configuration home-fish-configuration



reply via email to

[Prev in Thread] Current Thread [Next in Thread]