mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 00:39:45 +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:
parent
0f11c14065
commit
c24c298562
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ let
|
||||||
pmoduleDirs = mkOption {
|
pmoduleDirs = mkOption {
|
||||||
type = types.listOf types.path;
|
type = types.listOf types.path;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
example = [ "$HOME/.zprezto-contrib" ];
|
example = literalExpression
|
||||||
|
''[ "''${config.home.homeDirectory}/.zprezto-contrib" ]'';
|
||||||
description = "Add additional directories to load prezto modules from.";
|
description = "Add additional directories to load prezto modules from.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue