mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08: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:
@@ -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" (
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user