[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: home: services: zsh: Fix zshenv creation.
From: |
guix-commits |
Subject: |
06/07: home: services: zsh: Fix zshenv creation. |
Date: |
Sun, 3 Apr 2022 06:46:04 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 032f2e261caee641d29ebc604a7d7a9be2410ac7
Author: Brian Kubisiak <brian@kubisiak.com>
AuthorDate: Mon Mar 28 18:35:01 2022 -0700
home: services: zsh: Fix zshenv creation.
Fixes a regression introduced by
4935501fd9f690d8990bb798237d51702b87fb3f that would skip generating
the user's ~/.config/zsh/.zshenv unless both of zshenv and
environment-variables are set in the configuration.
* gnu/home/services/shells.scm (zsh-get-configuration-files):
Generate ~/.config/zsh/.zshenv when only one of zshenv or
environment-variables is specified.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
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 7b9769bcf3..b0147291fc 100644
--- a/gnu/home/services/shells.scm
+++ b/gnu/home/services/shells.scm
@@ -212,8 +212,8 @@ source ~/.profile
(define (zsh-get-configuration-files config)
`(("zprofile" ,(zsh-file-by-field config 'zprofile)) ;; Always non-empty
- ,@(if (and (zsh-field-not-empty? config 'zshenv)
- (zsh-field-not-empty? config 'environment-variables))
+ ,@(if (or (zsh-field-not-empty? config 'zshenv)
+ (zsh-field-not-empty? config 'environment-variables))
`(("zshenv" ,(zsh-file-by-field config 'zshenv))) '())
,@(if (zsh-field-not-empty? config 'zshrc)
`(("zshrc" ,(zsh-file-by-field config 'zshrc))) '())
- branch master updated (7902d17bc8 -> a37a8a23bd), guix-commits, 2022/04/03
- 06/07: home: services: zsh: Fix zshenv creation.,
guix-commits <=
- 04/07: gnu: xfce: Add notification support, guix-commits, 2022/04/03
- 07/07: gnu: oil: Update to 0.9.9., guix-commits, 2022/04/03
- 02/07: gnu: xfce4-screenshooter: Update to 1.9.10., guix-commits, 2022/04/03
- 01/07: gnu: xfce4-whiskermenu-plugin: Update to 2.6.2., guix-commits, 2022/04/03
- 05/07: gnu: mate-polkit: Improve synopsis., guix-commits, 2022/04/03
- 03/07: gnu: xfce: Remove input labels., guix-commits, 2022/04/03