1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

zsh: envVarsStr fix indentation

Use new indentation support to generate properly indented variables

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-09-28 14:39:27 -05:00
parent 2b03dc82bb
commit a97df40c19
2 changed files with 3 additions and 3 deletions

View file

@ -346,7 +346,7 @@ in
config =
let
envVarsStr = config.lib.zsh.exportAll cfg.sessionVariables;
envVarsStr = config.lib.zsh.exportAll cfg.sessionVariables { indent = " "; };
localVarsStr = config.lib.zsh.defineAll cfg.localVariables;
aliasesStr = concatStringsSep "\n" (

View file

@ -5,6 +5,6 @@
if [[ -z "$__HM_ZSH_SESS_VARS_SOURCED" ]]; then
export __HM_ZSH_SESS_VARS_SOURCED=1
export PATH="$HOME/bin:$PATH"
export V1="v1"
export V2="v2-v1"
export V1="v1"
export V2="v2-v1"
fi