1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 03:09:47 +01:00

zsh.prezto: fix path in example for 'pmoduleDirs'

Minor fix in documentation. The example in
`programs.zsh.prezto.pmoduleDirs` is not compatible with shell
environment variables like `$HOME`, must be replaced with nix
compatible variables eg: `home.homeDirectory`.

Fixes #4452
This commit is contained in:
not pua 2023-09-27 12:25:20 +00:00 committed by Mikilio
parent ee5e56bd52
commit a27350b595
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

View file

@ -34,7 +34,8 @@ let
pmoduleDirs = mkOption {
type = types.listOf types.path;
default = [ ];
example = [ "$HOME/.zprezto-contrib" ];
example = literalExpression
''[ "''${config.home.homeDirectory}/.zprezto-contrib" ]'';
description = "Add additional directories to load prezto modules from.";
};