mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36: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:
parent
2b03dc82bb
commit
a97df40c19
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue