mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
zsh: fix trailing slash breaking zshenv
A trailing slash in user.users.<user>.home broke zshenv setup in Home Manager. The generated ~/.zshenv ended up sourcing itself, causing an infinite loop at shell startup.
This commit is contained in:
parent
55b1f5b7b1
commit
804f9feaa0
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ let
|
|||
cfg = config.programs.zsh;
|
||||
in
|
||||
rec {
|
||||
homeDir = config.home.homeDirectory;
|
||||
homeDir = cleanPathStr config.home.homeDirectory;
|
||||
|
||||
/*
|
||||
Escape a path string for shell usage and remove trailing slashes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue