mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
home-environment: document escaping of home.sessionPath
This commit is contained in:
parent
2e1a5b53ec
commit
21590d40c1
1 changed files with 13 additions and 3 deletions
|
@ -274,11 +274,21 @@ in
|
|||
type = with types; listOf str;
|
||||
default = [ ];
|
||||
example = [
|
||||
".git/safe/../../bin"
|
||||
"$HOME/.local/bin"
|
||||
"\${xdg.configHome}/emacs/bin"
|
||||
"~/.local/bin"
|
||||
".git/safe/../../bin"
|
||||
];
|
||||
description = "Extra directories to add to <envar>PATH</envar>.";
|
||||
description = ''
|
||||
Extra directories to add to <envar>PATH</envar>.
|
||||
|
||||
</para><para>
|
||||
|
||||
These directories are added to the <envar>PATH</envar> variable in a
|
||||
double-quoted context, so expressions like <code>$HOME</code> are
|
||||
expanded by the shell. However, since expressions like <code>~</code> or
|
||||
<code>*</code> are escaped, they will end up in the <envar>PATH</envar>
|
||||
verbatim.
|
||||
'';
|
||||
};
|
||||
|
||||
home.sessionVariablesExtra = mkOption {
|
||||
|
|
Loading…
Reference in a new issue