From 6b5e0efd1e183368a5c30889954a9da321f1fece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcial=20Gai=C3=9Fert?= Date: Thu, 13 Dec 2018 15:23:27 +0100 Subject: [PATCH] programs.zsh: generate export statements in zsh syntax Use the new module lib.zsh to generate export statements in zsh syntax, using zsh arrays for lists. Being a zsh script, this seems more intuitive for .zshrc --- modules/programs/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/zsh.nix b/modules/programs/zsh.nix index b710f9537..d6e15e622 100644 --- a/modules/programs/zsh.nix +++ b/modules/programs/zsh.nix @@ -11,7 +11,7 @@ let pluginsDir = if cfg.dotDir != null then relToDotDir "plugins" else ".zsh/plugins"; - envVarsStr = config.lib.shell.exportAll cfg.sessionVariables; + envVarsStr = config.lib.zsh.exportAll cfg.sessionVariables; aliasesStr = concatStringsSep "\n" ( mapAttrsToList (k: v: "alias ${k}='${v}'") cfg.shellAliases