mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-06 17:11:03 +01:00
zsh: avoid IFD while sourcing prezto
This commit is contained in:
parent
5f36563a5c
commit
7c1cefb983
2 changed files with 6 additions and 4 deletions
|
|
@ -815,10 +815,7 @@ in
|
|||
))
|
||||
|
||||
(mkOrder 900 (
|
||||
(optionalString cfg.prezto.enable (
|
||||
builtins.readFile "${cfg.prezto.package}/share/zsh-prezto/runcoms/zshrc"
|
||||
))
|
||||
+ (lib.concatStrings (
|
||||
(lib.concatStrings (
|
||||
map (plugin: ''
|
||||
if [[ -f "$HOME/${pluginsDir}/${plugin.name}/${plugin.file}" ]]; then
|
||||
source "$HOME/${pluginsDir}/${plugin.name}/${plugin.file}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue