From 75a520cca62ea105a6fbb7f1d74b3a4ef439cd73 Mon Sep 17 00:00:00 2001 From: "(" Date: Wed, 29 Jun 2022 07:53:33 +0100 Subject: 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 --- gnu/home/services/shells.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') 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 -- cgit v1.2.3